generated from hashicorp/terraform-provider-scaffolding
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PLAT-13813]Support image bundle creation in provider request
Summary: Add image bundle as a separate block in resource_cloud_provider Add arch and image_bundle_uuid to resource_universe Test Plan: GCP image bundle example: ``` image_bundles { name = "YBA-Managed-AlmaLinux-8.9" use_as_default = false details { arch = "x86_64" global_yb_image = "https://www.googleapis.com/compute/beta/projects/almalinux-cloud/global/images/almalinux-8-v20240213" ssh_user = "centos" ssh_port = 22 use_imds_v2 = false } } image_bundles { name = "for_provider_dkumar" use_as_default = true details { arch = "x86_64" global_yb_image = "https://www.googleapis.com/compute/beta/projects/almalinux-cloud/global/images/almalinux-8-v20220719" ssh_user = "centos" ssh_port = 22 use_imds_v2 = false } } ``` AWS image bundle example: ``` image_bundles { name = "YBA-Managed-AlmaLinux-8.9" use_as_default = false details { arch = "x86_64" region_overrides = { "us-west-2" = "ami-03f03db0b24a9f0b6" } ssh_user = "ec2-user" ssh_port = 22 use_imds_v2 = false } } image_bundles { name = "for_provider_dkumar" use_as_default = true details { arch = "x86_64" region_overrides = { "us-west-2" = "ami-0f12219b4df721aa6" } ssh_user = "ec2-user" ssh_port = 22 use_imds_v2 = false } } ``` Reviewers: svarshney, sneelakantan Reviewed By: svarshney Subscribers: yugaware Differential Revision: https://phorge.dev.yugabyte.com/D35192
- Loading branch information
Showing
11 changed files
with
543 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.