|
1 | 1 | { |
2 | 2 | "Resources": { |
3 | | - "AdminRole38563C57": { |
4 | | - "Type": "AWS::IAM::Role", |
5 | | - "Properties": { |
6 | | - "AssumeRolePolicyDocument": { |
7 | | - "Statement": [ |
8 | | - { |
9 | | - "Action": "sts:AssumeRole", |
10 | | - "Effect": "Allow", |
11 | | - "Principal": { |
12 | | - "AWS": { |
13 | | - "Fn::Join": [ |
14 | | - "", |
15 | | - [ |
16 | | - "arn:", |
17 | | - { |
18 | | - "Ref": "AWS::Partition" |
19 | | - }, |
20 | | - ":iam::", |
21 | | - { |
22 | | - "Ref": "AWS::AccountId" |
23 | | - }, |
24 | | - ":root" |
25 | | - ] |
26 | | - ] |
27 | | - } |
28 | | - } |
29 | | - } |
30 | | - ], |
31 | | - "Version": "2012-10-17" |
32 | | - } |
33 | | - } |
34 | | - }, |
35 | 3 | "Vpc8378EB38": { |
36 | 4 | "Type": "AWS::EC2::VPC", |
37 | 5 | "Properties": { |
|
841 | 809 | "Cluster9EE0221C" |
842 | 810 | ] |
843 | 811 | }, |
844 | | - "ClusterAwsAuthmanifestFE51F8AE": { |
845 | | - "Type": "Custom::AWSCDK-EKS-KubernetesResource", |
846 | | - "Properties": { |
847 | | - "ServiceToken": { |
848 | | - "Fn::GetAtt": [ |
849 | | - "awscdkawseksKubectlProviderNestedStackawscdkawseksKubectlProviderNestedStackResourceA7AEBA6B", |
850 | | - "Outputs.awscdkekshelmloggingtestawscdkawseksKubectlProviderframeworkonEvent52632707Arn" |
851 | | - ] |
852 | | - }, |
853 | | - "Manifest": { |
854 | | - "Fn::Join": [ |
855 | | - "", |
856 | | - [ |
857 | | - "[{\"apiVersion\":\"v1\",\"kind\":\"ConfigMap\",\"metadata\":{\"name\":\"aws-auth\",\"namespace\":\"kube-system\",\"labels\":{\"aws.cdk.eks/prune-c886367281041f7b27d3e642951af752eb589d369f\":\"\"}},\"data\":{\"mapRoles\":\"[{\\\"rolearn\\\":\\\"", |
858 | | - { |
859 | | - "Fn::GetAtt": [ |
860 | | - "AdminRole38563C57", |
861 | | - "Arn" |
862 | | - ] |
863 | | - }, |
864 | | - "\\\",\\\"username\\\":\\\"", |
865 | | - { |
866 | | - "Fn::GetAtt": [ |
867 | | - "AdminRole38563C57", |
868 | | - "Arn" |
869 | | - ] |
870 | | - }, |
871 | | - "\\\",\\\"groups\\\":[\\\"system:masters\\\"]},{\\\"rolearn\\\":\\\"", |
872 | | - { |
873 | | - "Fn::GetAtt": [ |
874 | | - "ClusterNodegroupDefaultCapacityNodeGroupRole55953B04", |
875 | | - "Arn" |
876 | | - ] |
877 | | - }, |
878 | | - "\\\",\\\"username\\\":\\\"system:node:{{EC2PrivateDNSName}}\\\",\\\"groups\\\":[\\\"system:bootstrappers\\\",\\\"system:nodes\\\"]}]\",\"mapUsers\":\"[]\",\"mapAccounts\":\"[]\"}}]" |
879 | | - ] |
880 | | - ] |
881 | | - }, |
882 | | - "ClusterName": { |
883 | | - "Ref": "Cluster9EE0221C" |
884 | | - }, |
885 | | - "RoleArn": { |
886 | | - "Fn::GetAtt": [ |
887 | | - "ClusterCreationRole360249B6", |
888 | | - "Arn" |
889 | | - ] |
890 | | - }, |
891 | | - "PruneLabel": "aws.cdk.eks/prune-c886367281041f7b27d3e642951af752eb589d369f", |
892 | | - "Overwrite": true |
893 | | - }, |
894 | | - "DependsOn": [ |
895 | | - "ClusterKubectlReadyBarrier200052AF" |
896 | | - ], |
897 | | - "UpdateReplacePolicy": "Delete", |
898 | | - "DeletionPolicy": "Delete" |
899 | | - }, |
900 | 812 | "ClusterNodegroupDefaultCapacityNodeGroupRole55953B04": { |
901 | 813 | "Type": "AWS::IAM::Role", |
902 | 814 | "Properties": { |
|
984 | 896 | ] |
985 | 897 | } |
986 | 898 | }, |
| 899 | + "ClusterAwsAuthmanifestFE51F8AE": { |
| 900 | + "Type": "Custom::AWSCDK-EKS-KubernetesResource", |
| 901 | + "Properties": { |
| 902 | + "ServiceToken": { |
| 903 | + "Fn::GetAtt": [ |
| 904 | + "awscdkawseksKubectlProviderNestedStackawscdkawseksKubectlProviderNestedStackResourceA7AEBA6B", |
| 905 | + "Outputs.awscdkekshelmloggingtestawscdkawseksKubectlProviderframeworkonEvent52632707Arn" |
| 906 | + ] |
| 907 | + }, |
| 908 | + "Manifest": { |
| 909 | + "Fn::Join": [ |
| 910 | + "", |
| 911 | + [ |
| 912 | + "[{\"apiVersion\":\"v1\",\"kind\":\"ConfigMap\",\"metadata\":{\"name\":\"aws-auth\",\"namespace\":\"kube-system\",\"labels\":{\"aws.cdk.eks/prune-c886367281041f7b27d3e642951af752eb589d369f\":\"\"}},\"data\":{\"mapRoles\":\"[{\\\"rolearn\\\":\\\"", |
| 913 | + { |
| 914 | + "Fn::GetAtt": [ |
| 915 | + "ClusterNodegroupDefaultCapacityNodeGroupRole55953B04", |
| 916 | + "Arn" |
| 917 | + ] |
| 918 | + }, |
| 919 | + "\\\",\\\"username\\\":\\\"system:node:{{EC2PrivateDNSName}}\\\",\\\"groups\\\":[\\\"system:bootstrappers\\\",\\\"system:nodes\\\"]}]\",\"mapUsers\":\"[]\",\"mapAccounts\":\"[]\"}}]" |
| 920 | + ] |
| 921 | + ] |
| 922 | + }, |
| 923 | + "ClusterName": { |
| 924 | + "Ref": "Cluster9EE0221C" |
| 925 | + }, |
| 926 | + "RoleArn": { |
| 927 | + "Fn::GetAtt": [ |
| 928 | + "ClusterCreationRole360249B6", |
| 929 | + "Arn" |
| 930 | + ] |
| 931 | + }, |
| 932 | + "PruneLabel": "aws.cdk.eks/prune-c886367281041f7b27d3e642951af752eb589d369f", |
| 933 | + "Overwrite": true |
| 934 | + }, |
| 935 | + "DependsOn": [ |
| 936 | + "ClusterKubectlReadyBarrier200052AF" |
| 937 | + ], |
| 938 | + "UpdateReplacePolicy": "Delete", |
| 939 | + "DeletionPolicy": "Delete" |
| 940 | + }, |
987 | 941 | "Clusterchartawsloadbalancercontroller9E1FDE79": { |
988 | 942 | "Type": "Custom::AWSCDK-EKS-HelmChart", |
989 | 943 | "Properties": { |
|
1123 | 1077 | ] |
1124 | 1078 | } |
1125 | 1079 | }, |
1126 | | - "Outputs": { |
1127 | | - "ClusterConfigCommand43AAE40F": { |
1128 | | - "Value": { |
1129 | | - "Fn::Join": [ |
1130 | | - "", |
1131 | | - [ |
1132 | | - "aws eks update-kubeconfig --name ", |
1133 | | - { |
1134 | | - "Ref": "Cluster9EE0221C" |
1135 | | - }, |
1136 | | - " --region ", |
1137 | | - { |
1138 | | - "Ref": "AWS::Region" |
1139 | | - }, |
1140 | | - " --role-arn ", |
1141 | | - { |
1142 | | - "Fn::GetAtt": [ |
1143 | | - "AdminRole38563C57", |
1144 | | - "Arn" |
1145 | | - ] |
1146 | | - } |
1147 | | - ] |
1148 | | - ] |
1149 | | - } |
1150 | | - }, |
1151 | | - "ClusterGetTokenCommand06AE992E": { |
1152 | | - "Value": { |
1153 | | - "Fn::Join": [ |
1154 | | - "", |
1155 | | - [ |
1156 | | - "aws eks get-token --cluster-name ", |
1157 | | - { |
1158 | | - "Ref": "Cluster9EE0221C" |
1159 | | - }, |
1160 | | - " --region ", |
1161 | | - { |
1162 | | - "Ref": "AWS::Region" |
1163 | | - }, |
1164 | | - " --role-arn ", |
1165 | | - { |
1166 | | - "Fn::GetAtt": [ |
1167 | | - "AdminRole38563C57", |
1168 | | - "Arn" |
1169 | | - ] |
1170 | | - } |
1171 | | - ] |
1172 | | - ] |
1173 | | - } |
1174 | | - } |
1175 | | - }, |
1176 | 1080 | "Parameters": { |
1177 | 1081 | "BootstrapVersion": { |
1178 | 1082 | "Type": "AWS::SSM::Parameter::Value<String>", |
|
0 commit comments