Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create security groups with given resource group #64

Closed

Conversation

rsrchboy
Copy link
Member

@rsrchboy rsrchboy commented Jan 4, 2023

...much as we do elsewhere, if the configuration specifies a resource group, honor it and use it to create security group.

Note that the lack of this is causing issues when blanket permissions are not granted to the default resource group, e.g.

2023-01-04T20:40:53Z: ==> ibmcloud-vpc.base: [ERROR] Error creating the Security Group. Error: user does not have permission to use default resource group
2023-01-04T20:40:53Z: ==> ibmcloud-vpc.base: [ERROR] Error creating a Temp Security Group: [ERROR] Error creating the Security Group. Error: user does not have permission to use default resource group

...much as we do elsewhere, if the configuration specifies a resource
group, honor it and use it to create security group.

Signed-off-by: Chris Weyl <cweyl@ibm.com>
@rsrchboy rsrchboy force-pushed the use-resource-group-for-sg-create branch from 21443e9 to 3543114 Compare January 4, 2023 20:58
@astha-jain
Copy link
Member

Hi @rsrchboy Thank you for your contribution. Build failure is due to Docker - creds are not available for builds on forked repos. I'd request you to create a branch in this repo directly. Thanks.

@rsrchboy
Copy link
Member Author

rsrchboy commented Jan 13, 2023

Hi @rsrchboy Thank you for your contribution. Build failure is due to Docker - creds are not available for builds on forked repos. I'd request you to create a branch in this repo directly. Thanks.

@astha-jain I'm not opposed to pushing directly, but currently I lack the permissions :)

ERROR: Permission to IBM/packer-plugin-ibmcloud.git denied to rsrchboy.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

@astha-jain
Copy link
Member

@rsrchboy I've added you as a contributor. Please create a new PR with the branch in this repo. Thanks!.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants