-
Notifications
You must be signed in to change notification settings - Fork 311
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
[Resolve #1114,#886,#491] Project Dependencies part 2: Resolvable role_arn and template_bucket_name #1153
[Resolve #1114,#886,#491] Project Dependencies part 2: Resolvable role_arn and template_bucket_name #1153
Conversation
…es-p1-property-refactor
…-dependencies-p2-resolvable-value-property
…-dependencies-p2-resolvable-value-property
…-dependencies-p2-resolvable-value-property
Alright @zaro0508 , @zxiiro this PR is now fully ready for review. You both had made some comments on this PR previously (and I've responded to those). I've added in proper docs and integration tests on this PR, so it should now be ready for review. This PR can be merged and deployed to master without requiring any changes from parts 3 and onward. However, this PR is pointed at the Part 1 branch because it builds on the changes in that one. |
If you resolve ``template_bucket_name`` using the ``!stack_output`` | ||
resolver on a StackGroup, the stack that outputs that bucket name *cannot* be | ||
defined in that StackGroup. Otherwise, a circular dependency will exist and Sceptre | ||
will raise an error when attempting any Stack action. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice description of how it should not be done. Is it possible to provide an example of a property way to do it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I can add another line indicating the correct way to do it.
You might have already considered that this might cause a circular dependency for those | ||
dependency stacks, the ones that output the template bucket name, role arn, iam_role, or topic arns. | ||
In order to avoid the circular dependency issue, it is important that you define these items in a | ||
Stack that is *outside* the StackGroup you reference them in. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above. an example directory structure and files would really help.
@zaro0508 , I gave two examples of project structure supporting referencing project dependencies with |
…es-p2-resolvable-value-property
This is the second in a series of pull requests that addresses #1114 , allowing Sceptre to manage its own dependencies.
In this PR:
PR Checklist
[Resolve #issue-number]
.make test
) are passing.pre-commit run --all-files
).and description in grammatically correct, complete sentences.
Approver/Reviewer Checklist
Other Information
Guide to writing a good commit