Open patrickwall57 opened 5 years ago
update - this is the loc i believe to be failing. Im suprised that i cant download from the s3 bucket that is hardcoded into the operator
resource, err := clientSet.CloudFormationTemplates(cNamespace).Get(cName, metav1.GetOptions{})
if err != nil {
logger.WithError(err).Error("error getting cloudformation template returning fallback template")
return "https://s3-us-west-2.amazonaws.com/cloudkit-templates/" + rType + ".yaml"
}
When trying to create any resource using the aws-service-operator, im recieving an error downloading the default templates for provisioning resources.
Specifically im getting an error when the operator tries to download an object from
https://s3-us-west-2.amazonaws.com/cloudkit-templates/rType.yaml
So in my example of creating a dynamodb table, i get
msg="error creating dynamodb 'example-dynamo-table'" error="ValidationError: S3 error: All access to this object has been disabled\nFor more information check http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html\n\tstatus code: 400
I have tried specifying my own s3 bucket that contains the default templates, but that doesnt seem to work either. wondering if this bucket was recently locked down or if there is some other issue? The service operator installs and starts up, and provisions all of the base sqa/sns assets so it seems like the issue is with the bucket that contains the templates?