Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: Add optional policy_path variable used for policy definitions #60

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

Merged
antonbabenko merged 3 commits into terraform-aws-modules:master from rgrund-inform:master
Dec 4, 2023

Conversation

Copy link
Contributor

@rgrund-inform rgrund-inform commented Dec 1, 2023

Description

Add optional policy_path variable used for policy definitions.

Motivation and Context

If you are using policy_path for security reasons and need to set the policy_path, you will not be able to use the terraform-aws-step-functions. With this change, the path can be configured using the policy_path variable, or leave the default "/" if the variable is omitted.

Breaking Changes

No Breaking Changes the default for policy_path remains "/".

How Has This Been Tested?

  • I have updated at least one of the examples/* to demonstrate and validate my change(s)
    I have not updated the examples as role_path is also not used in the examples and I suspect that it was done that way on purpose.
  • I have tested and validated these changes using one or more of the provided examples/* projects
  • I have executed pre-commit run -a on my pull request

variables.tf Outdated
variable "policy_path" {
description = "Path of IAM policies to use for Step Function"
type = string
default = "/"
Copy link
Member

@antonbabenko antonbabenko Dec 1, 2023

Choose a reason for hiding this comment

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

Default to null is better. Please update.

Copy link
Contributor Author

@rgrund-inform rgrund-inform Dec 4, 2023
edited
Loading

Choose a reason for hiding this comment

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

The default is updated to null.

@antonbabenko antonbabenko merged commit cddcf93 into terraform-aws-modules:master Dec 4, 2023
Copy link
Member

Thank you, @rgrund-inform !

antonbabenko pushed a commit that referenced this pull request Dec 4, 2023
## [4.1.0](v4.0.1...v4.1.0) (2023年12月04日)
### Features
* Add optional policy_path variable used for policy definitions ([#60](#60)) ([cddcf93](cddcf93))
Copy link
Member

This PR is included in version 4.1.0 🎉

Copy link

github-actions bot commented Jan 4, 2024

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Reviewers

@antonbabenko antonbabenko antonbabenko approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /