Skip to content

Commit

Permalink
add-permission-to-dissasociate-cidr (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
calvix authored Oct 25, 2023
1 parent ddbbeee commit aa08906
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions capa-controller-role/capa-controller-policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"ec2:DetachInternetGateway",
"ec2:DisassociateRouteTable",
"ec2:DisassociateAddress",
"ec2:DisassociateVpcCidrBlock",
"ec2:ModifyInstanceAttribute",
"ec2:ModifyNetworkInterfaceAttribute",
"ec2:ModifySubnetAttribute",
Expand Down
2 changes: 1 addition & 1 deletion capa-controller-role/cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ GREEN='\033[0;32m'
NC='\033[0m'

ROLE_NAME="giantswarm-${INSTALLATION_NAME}-capa-controller"
AWS_ACCOUNT_ID="$(aws sts get-caller-identity --profile ${INSTALLATION_NAME} --output text --query 'Account')"
AWS_ACCOUNT_ID="$(aws sts get-caller-identity --output text --query 'Account')"

POL_TYPES=("capa-controller" "dns-controller" "eks-controller" "iam-controller" "irsa-controller" "resolver-rule-operator" "network-topology-controller")
POL_ARN_PREFIX="arn:aws:iam::${AWS_ACCOUNT_ID}:policy"
Expand Down

0 comments on commit aa08906

Please sign in to comment.