After launching ADF via the Serverless Application Repository, stage "UploadAndUpdateBaseStacks" in pipeline "aws-deployment-framework-bootstrap-pipeline" failed, here is the log:
...
[Container] 2019/06/06 22:40:44 Running command python adf-build/main.py
2019-06-06 22:40:44,925 | INFO | main | ADF Version 1.0.0 | (main.py:206)
2019-06-06 22:40:44,925 | INFO | main | ADF Log Level is INFO | (main.py:207)
2019-06-06 22:40:46,303 | INFO | organizations | SCPs are currently enabled within the Organization | (organizations.py:46)
2019-06-06 22:41:08,880 | INFO | cloudformation | 355189840595 - Executing Cloudformation Change Set with name: adf-global-base-adf-build | (cloudformation.py:245)
2019-06-06 22:41:09,071 | INFO | cloudformation | 355189840595 - Waiting for CloudFormation stack: adf-global-base-adf-build in us-west-2 to reach stack_create_complete | (cloudformation.py:130)
2019-06-06 22:42:02,117 | INFO | cloudformation | 182360788898 - Executing Cloudformation Change Set with name: adf-regional-base-deployment | (cloudformation.py:245)
2019-06-06 22:42:02,389 | INFO | cloudformation | 182360788898 - Waiting for CloudFormation stack: adf-regional-base-deployment in us-east-1 to reach stack_update_complete | (cloudformation.py:130)
2019-06-06 22:44:47,921 | INFO | cloudformation | 182360788898 - Executing Cloudformation Change Set with name: adf-global-base-deployment | (cloudformation.py:245)
2019-06-06 22:44:48,251 | INFO | cloudformation | 182360788898 - Waiting for CloudFormation stack: adf-global-base-deployment in us-west-2 to reach stack_update_complete | (cloudformation.py:130)
2019-06-06 22:47:35,636 | WARNING | organizations | Account 486349564477 is not an Active AWS Account | (organizations.py:127)
2019-06-06 22:47:35,766 | INFO | main | 728858254016 Is in the Root of the Organization, it will be skipped. | (main.py:171)
2019-06-06 22:47:36,198 | INFO | main | | (main.py:202)
Traceback (most recent call last):
File "adf-build/main.py", line 315, in
main()
File "adf-build/main.py", line 292, in main
thread.join()
File "/codebuild/output/src431224951/src/adf-build/shared/python/thread.py", line 30, in join
raise self.exc
File "/codebuild/output/src431224951/src/adf-build/shared/python/thread.py", line 22, in run
**self._kwargs
File "adf-build/main.py", line 199, in worker_thread
cloudformation.create_stack()
File "/codebuild/output/src431224951/src/adf-build/shared/python/cloudformation.py", line 256, in create_stack
create_change_set = self._create_change_set()
File "/codebuild/output/src431224951/src/adf-build/shared/python/cloudformation.py", line 194, in _create_change_set
ChangeSetType=self._get_change_set_type())
File "/usr/local/lib/python3.7/site-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/usr/local/lib/python3.7/site-packages/botocore/client.py", line 661, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (ValidationError) when calling the CreateChangeSet operation: Unable to fetch parameters [deployment_account_id,kms_arn] from parameter store for this account.
Exception ignored in: <module 'threading' from '/usr/local/lib/python3.7/threading.py'>
Traceback (most recent call last):
File "/usr/local/lib/python3.7/threading.py", line 1281, in _shutdown
t.join()
File "/codebuild/output/src431224951/src/adf-build/shared/python/thread.py", line 30, in join
raise self.exc
File "/codebuild/output/src431224951/src/adf-build/shared/python/thread.py", line 22, in run
**self._kwargs
File "adf-build/main.py", line 199, in worker_thread
cloudformation.create_stack()
File "/codebuild/output/src431224951/src/adf-build/shared/python/cloudformation.py", line 256, in create_stack
create_change_set = self._create_change_set()
File "/codebuild/output/src431224951/src/adf-build/shared/python/cloudformation.py", line 194, in _create_change_set
ChangeSetType=self._get_change_set_type())
File "/usr/local/lib/python3.7/site-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/usr/local/lib/python3.7/site-packages/botocore/client.py", line 661, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (ValidationError) when calling the CreateChangeSet operation: Unable to fetch parameters [kms_arn] from parameter store for this account.
[Container] 2019/06/06 22:47:38 Command did not exit successfully python adf-build/main.py exit status 1
[Container] 2019/06/06 22:47:38 Phase complete: BUILD State: FAILED
[Container] 2019/06/06 22:47:38 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: python adf-build/main.py. Reason: exit status 1