https://github.com/jameswoolfenden/terraform-aws-ssmdocument
It's about ssm docs
https://github.com/jameswoolfenden/terraform-aws-ssmdocument
aws module terraform
Last synced: 2 months ago
JSON representation
It's about ssm docs
- Host: GitHub
- URL: https://github.com/jameswoolfenden/terraform-aws-ssmdocument
- Owner: JamesWoolfenden
- License: apache-2.0
- Created: 2021-03-16T10:19:07.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-09-22T14:20:20.000Z (almost 4 years ago)
- Last Synced: 2025-01-25T19:27:43.837Z (over 1 year ago)
- Topics: aws, module, terraform
- Language: Makefile
- Homepage:
- Size: 42 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# terraform-aws-ssmdocument
[](https://github.com/JamesWoolfenden/terraform-aws-ssmdocument)
[](https://github.com/JamesWoolfenden/terraform-aws-ssmdocument/releases/latest)
[](https://github.com/JamesWoolfenden/terraform-aws-ssmdocument/releases/latest)

[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=JamesWoolfenden%2Fterraform-aws-ssmdocument&benchmark=CIS+AWS+V1.2)
[](https://github.com/pre-commit/pre-commit)
[](https://www.checkov.io/)
[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=JamesWoolfenden%2Fterraform-aws-ssmdocument&benchmark=INFRASTRUCTURE+SECURITY)
Terraform module to provision an Bastion host.
---
It's 100% Open Source and licensed under the [APACHE2](LICENSE).
## Introduction
## Usage
Include this repository as a module in your existing terraform code:
```hcl
module "ssmdocument" {
source = "JamesWoolfenden/ssmdocument/aws"
version = "0.1."
}
```
## Requirements
No requirements.
## Providers
| Name | Version |
|------|---------|
| [aws](#provider\_aws) | n/a |
## Modules
No modules.
## Resources
| Name | Type |
|------|------|
| [aws_ssm_document.example](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ssm_document) | resource |
## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [common\_tags](#input\_common\_tags) | This is to help you add tags to your cloud objects | `map(any)` | n/a | yes |
| [content](#input\_content) | n/a | `string` | `" {
\"schemaVersion\": \"1.2\",
\"description\": \"Check ip configuration of a Linux instance.\",
\"parameters\": {
},
\"runtimeConfig\": {
\"aws:runShellScript\": {
\"properties\": [
{
\"id\": \"0.aws:runShellScript\",
\"runCommand\": [\"ifconfig\"]
}
]
}
}
}
"` | no |
| [document\_format](#input\_document\_format) | n/a | `string` | `"JSON"` | no |
| [document\_name](#input\_document\_name) | n/a | `string` | `"test_document"` | no |
| [document\_type](#input\_document\_type) | n/a | `string` | `"Command"` | no |
## Outputs
No outputs.
## Policy
This is the policy required to build this project:
The Terraform resource required is:
```golang
resource "aws_iam_policy" "terraform_pike" {
name_prefix = "terraform_pike"
path = "/"
description = "Pike Autogenerated policy from IAC"
policy = jsonencode({
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"ssm:CreateDocument",
"ssm:DeleteDocument",
"ssm:DescribeDocument",
"ssm:DescribeDocumentPermission",
"ssm:GetDocument",
"ssm:UpdateDocument"
],
"Resource": "*"
}
]
})
}
```
## Help
**Got a question?**
File a GitHub [issue](https://github.com/JamesWoolfenden/terraform-ssmdocument/issues).
## Contributing
### Bug Reports & Feature Requests
Please use the [issue tracker](https://github.com/JamesWoolfenden/terraform-ssmdocument/issues) to report any bugs or file feature requests.
## Copyrights
Copyright © 2021-2022 James Woolfenden
## License
[](https://opensource.org/licenses/Apache-2.0)
See [LICENSE](LICENSE) for full details.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
### Contributors
[![James Woolfenden][jameswoolfenden_avatar]][jameswoolfenden_homepage]
[James Woolfenden][jameswoolfenden_homepage]
[jameswoolfenden_homepage]: https://github.com/jameswoolfenden
[jameswoolfenden_avatar]: https://github.com/jameswoolfenden.png?size=150