Skip to content

Commit

Permalink
Add cloud provider during aws cluster creation
Browse files Browse the repository at this point in the history
Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
  • Loading branch information
aloganat authored and apodhrad committed Nov 26, 2024
1 parent ccf4143 commit 43e01dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ods_ci/utils/scripts/ocm/ocm.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,12 +175,13 @@ def osd_cluster_create(self):

if self.cloud_provider == "aws":
cmd = (
"ocm --v={} create cluster --aws-account-id {} "
"ocm --v={} create cluster --provider {} --aws-account-id {} "
"--aws-access-key-id {} --aws-secret-access-key {} "
"--ccs --region {} --compute-nodes {} "
"--compute-machine-type {} {} {}"
"{}".format(
self.ocm_verbose_level,
self.cloud_provider,
self.aws_account_id,
self.aws_access_key_id,
self.aws_secret_access_key,
Expand Down

0 comments on commit 43e01dc

Please sign in to comment.