Skip to content
This repository has been archived by the owner on Nov 5, 2022. It is now read-only.

Cloud9 Not Bootstrapping #28

Open
bollig opened this issue May 3, 2021 · 1 comment
Open

Cloud9 Not Bootstrapping #28

bollig opened this issue May 3, 2021 · 1 comment

Comments

@bollig
Copy link
Contributor

bollig commented May 3, 2021

When FSx Lustre is disabled, the cloud9 bootstrap process does not execute. Perhaps related to a custom resource executing before C9 is done booting? Or the parent stack finishes before CR can execute?

@bollig
Copy link
Contributor Author

bollig commented May 3, 2021

    "message": "An error occurred (ValidationException) when calling the CreateEnvironmentMembership operation: 1 validation error detected: Value 'XXXXX' at 'userArn' failed to satisfy constraint: Member must satisfy regular expression pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):(iam|sts)::\\d+:(root|(user\\/[\\w+=/:,.@-]{1,64}|federated-user\\/[\\w+=/:,.@-]{2,32}|assumed-role\\/[\\w+=:,.@-]{1,64}\\/[\\w+=,.@-]{1,64}))$",
    "exception": "Traceback (most recent call last):\n  File \"/var/task/crhelper/resource_helper.py\", line 192, in _wrap_function\n    self.PhysicalResourceId = func(self._event, self._context) if func else ''\n  File \"/var/task/lambda_function.py\", line 82, in create\n    grant_permissions_cloud9(cloud9_environment, event['ResourceProperties']['UserArn'])\n  File \"/var/task/lambda_function.py\", line 19, in grant_permissions_cloud9\n    return cloud9_client.create_environment_membership(environmentId=cloud9_environment, userArn=user_arn, permissions='read-write')\n  File \"/var/runtime/botocore/client.py\", line 357, in _api_call\n    return self._make_api_call(operation_name, kwargs)\n  File \"/var/runtime/botocore/client.py\", line 676, in _make_api_call\n    raise error_class(parsed_response, operation_name)\nbotocore.exceptions.ClientError: An error occurred (ValidationException) when calling the CreateEnvironmentMembership operation: 1 validation error detected: Value 'XXXXXX' at 'userArn' failed to satisfy constraint: Member must satisfy regular expression pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):(iam|sts)::\\d+:(root|(user\\/[\\w+=/:,.@-]{1,64}|federated-user\\/[\\w+=/:,.@-]{2,32}|assumed-role\\/[\\w+=:,.@-]{1,64}\\/[\\w+=,.@-]{1,64}))$"
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant