Commit 37d5168d authored by Jun Matsushita's avatar Jun Matsushita Committed by GitHub

docs: Update version constraints (#162)

parent fc06fb04
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
```hcl ```hcl
module "iam_account" { module "iam_account" {
source = "terraform-aws-modules/iam/aws//modules/iam-account" source = "terraform-aws-modules/iam/aws//modules/iam-account"
version = "~> 3.0" version = "~> 4.3"
account_alias = "awesome-company" account_alias = "awesome-company"
...@@ -26,7 +26,7 @@ module "iam_account" { ...@@ -26,7 +26,7 @@ module "iam_account" {
```hcl ```hcl
module "iam_assumable_role" { module "iam_assumable_role" {
source = "terraform-aws-modules/iam/aws//modules/iam-assumable-role" source = "terraform-aws-modules/iam/aws//modules/iam-assumable-role"
version = "~> 3.0" version = "~> 4.3"
trusted_role_arns = [ trusted_role_arns = [
"arn:aws:iam::307990089504:root", "arn:aws:iam::307990089504:root",
...@@ -51,7 +51,7 @@ module "iam_assumable_role" { ...@@ -51,7 +51,7 @@ module "iam_assumable_role" {
```hcl ```hcl
module "iam_assumable_role_with_oidc" { module "iam_assumable_role_with_oidc" {
source = "terraform-aws-modules/iam/aws//modules/iam-assumable-role-with-oidc" source = "terraform-aws-modules/iam/aws//modules/iam-assumable-role-with-oidc"
version = "~> 3.0" version = "~> 4.3"
create_role = true create_role = true
...@@ -75,7 +75,7 @@ module "iam_assumable_role_with_oidc" { ...@@ -75,7 +75,7 @@ module "iam_assumable_role_with_oidc" {
```hcl ```hcl
module "iam_assumable_role_with_saml" { module "iam_assumable_role_with_saml" {
source = "terraform-aws-modules/iam/aws//modules/iam-assumable-role-with-saml" source = "terraform-aws-modules/iam/aws//modules/iam-assumable-role-with-saml"
version = "~> 3.0" version = "~> 4.3"
create_role = true create_role = true
...@@ -99,7 +99,7 @@ module "iam_assumable_role_with_saml" { ...@@ -99,7 +99,7 @@ module "iam_assumable_role_with_saml" {
```hcl ```hcl
module "iam_assumable_roles" { module "iam_assumable_roles" {
source = "terraform-aws-modules/iam/aws//modules/iam-assumable-roles" source = "terraform-aws-modules/iam/aws//modules/iam-assumable-roles"
version = "~> 3.0" version = "~> 4.3"
trusted_role_arns = [ trusted_role_arns = [
"arn:aws:iam::307990089504:root", "arn:aws:iam::307990089504:root",
...@@ -121,7 +121,7 @@ module "iam_assumable_roles" { ...@@ -121,7 +121,7 @@ module "iam_assumable_roles" {
```hcl ```hcl
module "iam_assumable_roles_with_saml" { module "iam_assumable_roles_with_saml" {
source = "terraform-aws-modules/iam/aws//modules/iam-assumable-roles-with-saml" source = "terraform-aws-modules/iam/aws//modules/iam-assumable-roles-with-saml"
version = "~> 3.0" version = "~> 4.3"
create_admin_role = true create_admin_role = true
...@@ -139,7 +139,7 @@ module "iam_assumable_roles_with_saml" { ...@@ -139,7 +139,7 @@ module "iam_assumable_roles_with_saml" {
```hcl ```hcl
module "iam_user" { module "iam_user" {
source = "terraform-aws-modules/iam/aws//modules/iam-user" source = "terraform-aws-modules/iam/aws//modules/iam-user"
version = "~> 3.0" version = "~> 4.3"
name = "vasya.pupkin" name = "vasya.pupkin"
force_destroy = true force_destroy = true
...@@ -155,7 +155,7 @@ module "iam_user" { ...@@ -155,7 +155,7 @@ module "iam_user" {
```hcl ```hcl
module "iam_policy" { module "iam_policy" {
source = "terraform-aws-modules/iam/aws//modules/iam-policy" source = "terraform-aws-modules/iam/aws//modules/iam-policy"
version = "~> 3.0" version = "~> 4.3"
name = "example" name = "example"
path = "/" path = "/"
...@@ -183,7 +183,7 @@ EOF ...@@ -183,7 +183,7 @@ EOF
```hcl ```hcl
module "iam_group_with_assumable_roles_policy" { module "iam_group_with_assumable_roles_policy" {
source = "terraform-aws-modules/iam/aws//modules/iam-group-with-assumable-roles-policy" source = "terraform-aws-modules/iam/aws//modules/iam-group-with-assumable-roles-policy"
version = "~> 3.0" version = "~> 4.3"
name = "production-readonly" name = "production-readonly"
...@@ -203,7 +203,7 @@ module "iam_group_with_assumable_roles_policy" { ...@@ -203,7 +203,7 @@ module "iam_group_with_assumable_roles_policy" {
```hcl ```hcl
module "iam_group_with_policies" { module "iam_group_with_policies" {
source = "terraform-aws-modules/iam/aws//modules/iam-group-with-policies" source = "terraform-aws-modules/iam/aws//modules/iam-group-with-policies"
version = "~> 3.0" version = "~> 4.3"
name = "superadmins" name = "superadmins"
...@@ -285,4 +285,4 @@ Module is maintained by [Anton Babenko](https://github.com/antonbabenko) with he ...@@ -285,4 +285,4 @@ Module is maintained by [Anton Babenko](https://github.com/antonbabenko) with he
## License ## License
Apache 2 Licensed. See [LICENSE](https://github.com/terraform-aws-modules/terraform-aws-iam/tree/master/LICENSE) for full details. Apache 2 Licensed. See [LICENSE](https://github.com/terraform-aws-modules/terraform-aws-iam/tree/master/LICENSE) for full details.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment