After download of the cloud formation template (CFT) from Cloud Workload Protection (CWP) for Storage console, when admin deploys the formation from template, the installation begins, but then rolls back.
CFT appears not able to create group policy for auto-scaling.
Multiple possible causes:
Before troubleshooting, confirm that the VPC settings have been set to allow for the firewall requirements, here:
The following AWS output is an example where the firewall rules were not configured as required...
UpdateProvisioningStatusS3Inprogress | [REMOVED BY AUTHOR] | Custom::UpdateProvisioningStatusS3Inprogress |
CREATE_FAILED | CloudFormation did not receive a response from your Custom Resource. Please check your logs for requestId [REMOVED BY AUTHOR]. If you are using the Python cfn-response module, you may need to update your Lambda function code so that CloudFormation can attach the updated version. |
[ERROR] MissingSchema: Invalid URL 'URL': No schema supplied. Perhaps you meant http://URL?
Traceback (most recent call last):
File "/var/task/UpdateProvisioningStatusS3.py", line 86, in lambda_handler
response = requests.post(url, headers=headers, data=json_data)
File "/var/task/requests/api.py", line 116, in post
return request('post', url, data=data, json=json, **kwargs)
File "/var/task/requests/api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "/var/task/requests/sessions.py", line 519, in request
prep = self.prepare_request(req)
File "/var/task/requests/sessions.py", line 452, in prepare_request
p.prepare(
File "/var/task/requests/models.py", line 313, in prepare
self.prepare_url(url, params)
File "/var/task/requests/models.py", line 387, in prepare_url
raise MissingSchema(error)