cli: allow any well formatted zone in iam create

This commit is contained in:
Malte Poll 2023-05-03 11:07:47 +02:00 committed by Malte Poll
parent 653bf3621d
commit 6694eabebd
2 changed files with 18 additions and 13 deletions

View file

@ -212,7 +212,7 @@ func TestIAMCreateAWS(t *testing.T) {
setupFs: defaultFs,
creator: &stubIAMCreator{id: validIAMIDFile},
provider: cloudprovider.AWS,
zoneFlag: "us-west-5b",
zoneFlag: "us-west",
prefixFlag: "test",
yesFlag: true,
wantErr: true,