Skip to content

Commit

Permalink
new_gg_core_device.sh: rename after official ConnectionKit
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-roos committed Dec 10, 2024
1 parent 430f9d8 commit 71102d3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ fi
aws iot attach-policy --policy-name "$GREENGRASS_V2_IOT_ROLE_NAME" --target `jq -r '.certificateArn' $NEW_GG_CORE_DEVICE/create-keys-and-certificate.json`

# Create a token exchange role
GREENGRASS_V2_TOKEN_EXCHANGE_ROLE_NAME=GreengrassV2TokenExchangeRole
GREENGRASS_V2_TOKEN_EXCHANGE_ROLE_NAME=GreengrassV2CoreDeviceRole
DEVICE_ROLE_TRUST_POLICY_DOCUMENT='{
"Version": "2012-10-17",
"Statement": [
Expand Down Expand Up @@ -84,7 +84,7 @@ else
fi

# Create a IAM policy
DEVICE_ROLE_ACCESS_POLICY_NAME=GreengrassV2TokenExchangeRoleAccess
DEVICE_ROLE_ACCESS_POLICY_NAME=GreengrassV2TokenExchangeCoreDeviceRoleAlias
DEVICE_ROLE_ACCESS_POLICY_DOCUMENT='{
"Version": "2012-10-17",
"Statement": [
Expand Down

0 comments on commit 71102d3

Please sign in to comment.