Bug 1669154

Summary: Cluster name is not proper for aws environment, as it's not accepting "." character in the cluster name
Product: OpenShift Container Platform Reporter: Abhishek <aabhishe>
Component: InstallerAssignee: Alex Crawford <crawford>
Installer sub component: openshift-installer QA Contact: Johnny Liu <jialiu>
Status: CLOSED DUPLICATE Docs Contact:
Severity: urgent    
Priority: urgent CC: wking
Version: 4.1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-28 21:05:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1664187    

Description Abhishek 2019-01-24 13:33:38 UTC
Description of problem:  Error message while installing OCP 4.0 with cluster name vicky4.0
~~~
ERROR Error: module.vpc.aws_lb.api_external: only alphanumeric characters and hyphens allowed in "name": "vicky4.0-ext" 
~~~

if we type any special character to the installer for creating install-config it show's "-" or "." is allowed.

But in aws environment, it's creating  module.vpc.aws_lb.api_external which allows only "-" 

Custer name help:
???? The name of the cluster.  This will be used when generating sub-domains.
X Sorry, your reply was invalid: a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')
? Cluster Name [? for help]

Comment 1 W. Trevor King 2019-01-28 21:05:00 UTC

*** This bug has been marked as a duplicate of bug 1666956 ***