hashicorp / hashicorp/packer-plugin-cloudstack

Add `associate_public_ip_address` flag

Open
#65 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
5
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Packer CloudStack plug-in always try to associate a public IP address. Some CloudStack instances do not allow users to associate public IP address to virtual machines, leading Packer to fail with message "Failed to associate public IP address...".

Amazon EBS plugin for instance has a flag `associate_public_ip_address` allowing sources not to be associated to public IP address. Can we have this flag for CloudStack too?

Contributor guide

Open the contributing guide

Research direction

Start by locating the CloudStack builder code that always associates a public IP, then compare it with the Amazon EBS plugin's associate_public_ip_address flag mentioned in the issue. Add equivalent configuration for CloudStack and verify that disabling it avoids the association attempt while existing behavior remains available.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cloud
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.