cloudflare / Stout

A reliable static website deploy tool
MIT License
752 stars 29 forks source link

The parameter CNAME contains one or more parameters that are not valid. #40

Closed hughmp closed 7 years ago

hughmp commented 7 years ago

I may be missing something obvious here, but when I run this:

stout create --bucket uniquebucketname9308433270 --key ***** --secret *****

I get the following output:

Creating Bucket
Loading/Creating CloudFront Distribution
Error loading/creating CloudFront distribution
Type: Sender, Code: InvalidArgument, Message: The parameter CNAME contains one or more parameters that are not valid.

Is there a way to enable more verbose logging?

I've checked my account has sufficient privileges to create an S3 bucket, CloudFront distribution, and Route 53 zone.

hughmp commented 7 years ago

yep, thought I was being stupid!

It works if I do this:

stout create --bucket uniquebucketname9308433270.test.1234 --key ***** --secret *****

essentially, the bucket name needs a . in it.

not clear from the docs if you don't have a custom domain, so maybe someone will find this helpful.

SyedWasilAbidi commented 4 years ago

this error is coming in my terraform ....where do we have to type this same commmand stout create --bucket uniquebucketname9308433270.test.1234 --key --secret can i use it in terraform or CMD??