Skip to content

Option to create all packer resources in defined resource group #144

Description

@aleksf-awx

Description

Currently all Packer build resources (VPC, vSwitch, VM instance, etc) are created within default resource group despite involved CSP API's provide support to specify resource group ID. There are orgs that implement resource group level resource isolation as opposed to using dedicated cloud accounts. In such orgs it may be challenging hosting image building workflow in the dedicated cloud account.

Providing an option to specify a resource group for Packer build resources (VPC, vSwitch, VM instance, etc) assures better resource isolation for orgs that employ resource group resources isolation concept. Blast radius of packer account key compromise is greatly reduced.

Use Case(s)

Provide option to host Packer build resources in user-provided resource group rather than default resource group for better isolation.

Potential configuration

Provide additional config option or extend existing resource_group_id option to inform CSP API's to pass resource group ID for relevant resource creation/deletion operations.

Potential References

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions