Closed robert-s-lee closed 2 years ago
% terraform output -json | jq
{
"external_id": {
"sensitive": true,
"type": "string",
"value": "xxxx"
},
"role_arn": {
"sensitive": false,
"type": "string",
"value": "arn:aws:iam::xxxx:role/grid-cloudxxxx"
}
}
export EXTERNAL_ID=$(terraform output -json | jq -r '.external_id.value')
export ROLE_ARN=$(terraform output -json | jq -r '.role_arn.value')
echo $EXTERNAL_ID
echo $ROLE_ARN
@robert-s-lee just seeing this issue. is it still relevant?
This is being update in new version of docs
update https://docs.grid.ai/platform/upgrades/adding-custom-cloud-credentials the following:
terraform output -json | jq
to reflect external id and role arngrid edit
grid clusters log