mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
commit
eb249693c9
@ -223,7 +223,7 @@ func resourceAwsElasticBeanstalkEnvironmentCreate(d *schema.ResourceData, meta i
|
||||
|
||||
if cnamePrefix != "" {
|
||||
if tier != "WebServer" {
|
||||
return fmt.Errorf("Cannont set cname_prefix for tier: %s.", tier)
|
||||
return fmt.Errorf("Cannot set cname_prefix for tier: %s.", tier)
|
||||
}
|
||||
createOpts.CNAMEPrefix = aws.String(cnamePrefix)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user