Skip to content

Commit 1904883

Browse files
authored
Merge pull request #5 from appvia/fix-pipeline-checks
fix: spoke README terraform-docs and tfvars gitignore
2 parents af24285 + 7378490 commit 1904883

2 files changed

Lines changed: 28 additions & 0 deletions

File tree

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@
88
# terraform lock file
99
.terraform.lock.hcl
1010

11+
# terraform tfvars
12+
*.tfvars
13+
14+
# exclude tfvars.example files as they are meant to be checked in as examples
15+
!*.tfvars.example
16+
1117
# Crash log files
1218
crash.log
1319
crash.*.log

modules/spoke/README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,26 @@ module "spoke" {
3838
See `examples/spoke/spoke-workload-eks/` and `examples/spoke/spoke-workload-ecs/` for complete boundary policy examples.
3939

4040
<!-- BEGIN_TF_DOCS -->
41+
## Providers
42+
43+
| Name | Version |
44+
| ---- | ------- |
45+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 6.0.0 |
46+
47+
## Inputs
48+
49+
| Name | Description | Type | Default | Required |
50+
| ---- | ----------- | ---- | ------- | :------: |
51+
| <a name="input_agent_space_arn"></a> [agent\_space\_arn](#input\_agent\_space\_arn) | ARN of the Agent Space from the hub module output. Scopes this role's trust policy to that specific Agent Space — no other Agent Space in the hosting account can assume it. | `string` | n/a | yes |
52+
| <a name="input_permissions_boundary_arn"></a> [permissions\_boundary\_arn](#input\_permissions\_boundary\_arn) | Optional ARN of a permissions boundary policy to attach to the cross-account role. See examples/spoke/ for EKS and ECS boundary policy examples. | `string` | `null` | no |
53+
| <a name="input_role_name"></a> [role\_name](#input\_role\_name) | Name for the cross-account IAM role created in this workload account. | `string` | `"DevOpsAgentCrossAccountRole"` | no |
54+
| <a name="input_tags"></a> [tags](#input\_tags) | Tags to apply to resources. | `map(string)` | `{}` | no |
55+
56+
## Outputs
57+
58+
| Name | Description |
59+
| ---- | ----------- |
60+
| <a name="output_role_arn"></a> [role\_arn](#output\_role\_arn) | ARN of the cross-account IAM role. Pass this to the hub module's secondary\_accounts map as cross\_account\_role\_arn. |
61+
| <a name="output_role_iam_id"></a> [role\_iam\_id](#output\_role\_iam\_id) | IAM ID of the cross-account role. Needed when attaching inline policies directly. |
62+
| <a name="output_role_name"></a> [role\_name](#output\_role\_name) | Name of the cross-account IAM role. |
4163
<!-- END_TF_DOCS -->

0 commit comments

Comments
 (0)