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

Add aws_cloudformation_stack_set_instance resource #1129

Conversation

sergenyalcin
Copy link
Collaborator

@sergenyalcin sergenyalcin commented Feb 6, 2024

Description of your changes

Fixes #1078
Related #26

This PR adds aws_cloudformation_stack_set_instance resource.

I have:

  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

Tested locally and via Uptest.

@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/cloudformation/v1beta1/stacksetinstance.yaml"

@sergenyalcin sergenyalcin force-pushed the configure-cloudformation_stack_set_instance branch from 89179a1 to 30b1377 Compare February 6, 2024 14:10
@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/cloudformation/v1beta1/stacksetinstance.yaml"

@sergenyalcin sergenyalcin force-pushed the configure-cloudformation_stack_set_instance branch from 30b1377 to d606602 Compare February 6, 2024 14:34
@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/cloudformation/v1beta1/stacksetinstance.yaml"

Copy link
Collaborator

@ulucinar ulucinar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @sergenyalcin, lgtm.

My understanding is that we have also validated this resource via upjet, right? If so, could you please also update the description with a reference to the successful uptest run?

config/cloudformation/config.go Outdated Show resolved Hide resolved
config/externalname.go Outdated Show resolved Hide resolved
@sergenyalcin
Copy link
Collaborator Author

Thanks @sergenyalcin, lgtm.

My understanding is that we have also validated this resource via upjet, right? If so, could you please also update the description with a reference to the successful uptest run?

Added to the description.

@sergenyalcin sergenyalcin merged commit 90e9143 into crossplane-contrib:main Feb 7, 2024
9 checks passed
@sergenyalcin sergenyalcin deleted the configure-cloudformation_stack_set_instance branch February 7, 2024 08:37
Comment on lines +1715 to +1717
// Cloudformation Stacks Instances imported using the StackSet name, target
// AWS account ID, and target AWS region separated with commas:
// example,123456789012,us-east-1
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Terraform documentation states that these can be imported in two different format:

        // StackSetInstances can be imported in two ways:
	// If deployment_targets is set, use a comma-delimited string combining
	// stack set name, organizational unit IDs ( / delimited), and region (i.e. mystack,ou-123/ou-456,us-east-1).
	// Otherwise, use a comma-delimited string combining:
	// stack set name, AWS account ID, and region (i.e. mystack,123456789012,us-east-1)

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.

Request for aws_cloudformation_stack_set_instance resource
3 participants