Skip to content

Commit

Permalink
fix inline_policy
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jan 16, 2026
1 parent 03c2819 commit e8ce560
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
2 changes: 0 additions & 2 deletions policies/sc-servicecatalog-t1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,10 @@ No modules.
| <a name="input_account_alias"></a> [account\_alias](#input\_account\_alias) | AWS Account Alias | `string` | `""` | no |
| <a name="input_account_id"></a> [account\_id](#input\_account\_id) | AWS Account ID (default will pull from current user) | `string` | `""` | no |
| <a name="input_customer_managed_policy_names"></a> [customer\_managed\_policy\_names](#input\_customer\_managed\_policy\_names) | Map of policy name to permission boundary of Customer Managed Policy to attach to the permissionset | `map(string)` | `{}` | no |
| <a name="input_inline_policy"></a> [inline\_policy](#input\_inline\_policy) | AWS Policy document for the single allowed inline policy | `string` | `null` | no |
| <a name="input_managed_policy_names"></a> [managed\_policy\_names](#input\_managed\_policy\_names) | Names of AWS Managed Policy to attach to the permissionset | `list(string)` | `[]` | no |
| <a name="input_name"></a> [name](#input\_name) | Permission Set Name for which all settings apply | `string` | `null` | no |
| <a name="input_override_prefixes"></a> [override\_prefixes](#input\_override\_prefixes) | Override built-in prefixes by component. This should be used primarily for common infrastructure things | `map(string)` | `{}` | no |
| <a name="input_relay_state"></a> [relay\_state](#input\_relay\_state) | Relay State to pass along to permissionset | `string` | `null` | no |
| <a name="input_settings_file"></a> [settings\_file](#input\_settings\_file) | File name and path to YAML with users(list), account\_ids(list), org\_ous(list), and all(bool). See sample.yml in code. | `string` | `null` | no |
| <a name="input_tags"></a> [tags](#input\_tags) | AWS Tags to apply to appropriate resources | `map(string)` | `{}` | no |

## Outputs
Expand Down
2 changes: 1 addition & 1 deletion policies/sc-servicecatalog-t1/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ output "customer_managed_policy_names" {

output "inline_policy" {
description = "AWS Policy document for the single allowed inline policy (use .json to get policy)"
value = var.inline_policy
value = data.aws_iam_policy_document.inline
}

output "relay_state" {
Expand Down
1 change: 0 additions & 1 deletion policies/sc-servicecatalog-t1/variables.settings.tf

This file was deleted.

10 changes: 5 additions & 5 deletions policies/sc-servicecatalog-t1/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ variable "customer_managed_policy_names" {
default = {}
}

variable "inline_policy" {
description = "AWS Policy document for the single allowed inline policy"
type = string
default = null
}
# variable "inline_policy" {
# description = "AWS Policy document for the single allowed inline policy"
# type = string
# default = null
# }

variable "relay_state" {
description = "Relay State to pass along to permissionset"
Expand Down

0 comments on commit e8ce560

Please sign in to comment.