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

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

Merged
merged 3 commits into from
Dec 4, 2023

Conversation

rgrund-inform
Copy link
Contributor

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

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

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.

… had completely omitted it if a value is null.
README.md Outdated Show resolved Hide resolved
@antonbabenko antonbabenko merged commit cddcf93 into terraform-aws-modules:master Dec 4, 2023
7 checks passed
@antonbabenko
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))
@antonbabenko
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.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants