Skip to content

Commit

Permalink
Fix lint failed code (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
posquit0 authored Feb 23, 2023
1 parent f4de3d7 commit bf71085
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion modules/iam-role/migrations.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 2022-11-24
# 2022-11-24
moved {
from = aws_resourcegroups_group.this[0]
to = module.resource_group[0].aws_resourcegroups_group.this
Expand Down
6 changes: 3 additions & 3 deletions modules/iam-role/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,15 @@ output "inline_policies" {

output "instance_profile_name" {
description = "IAM Instance Profile name."
value = try(aws_iam_instance_profile.this.*.name[0], null)
value = try(aws_iam_instance_profile.this[*].name[0], null)
}

output "instance_profile_arn" {
description = "The ARN assigned by AWS for the Instance Profile."
value = try(aws_iam_instance_profile.this.*.arn[0], null)
value = try(aws_iam_instance_profile.this[*].arn[0], null)
}

output "instance_profile_unique_id" {
description = "The unique ID assigned by AWS for the Instance Profile."
value = try(aws_iam_instance_profile.this.*.unique_id[0], null)
value = try(aws_iam_instance_profile.this[*].unique_id[0], null)
}
2 changes: 1 addition & 1 deletion modules/iam-service-linked-role/migrations.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 2022-11-24
# 2022-11-24
moved {
from = aws_resourcegroups_group.this[0]
to = module.resource_group[0].aws_resourcegroups_group.this
Expand Down
2 changes: 1 addition & 1 deletion modules/iam-user/migrations.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 2022-11-24
# 2022-11-24
moved {
from = aws_resourcegroups_group.this[0]
to = module.resource_group[0].aws_resourcegroups_group.this
Expand Down
2 changes: 1 addition & 1 deletion modules/iam-user/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ output "console_access" {
description = "The information of the AWS console access and password for the user."
value = {
enabled = try(var.console_access.enabled, true)
encrypted_password = one(aws_iam_user_login_profile.this.*.encrypted_password)
encrypted_password = one(aws_iam_user_login_profile.this[*].encrypted_password)
}
}

Expand Down
2 changes: 1 addition & 1 deletion modules/managed-policies/migrations.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 2022-11-24
# 2022-11-24
moved {
from = aws_resourcegroups_group.this[0]
to = module.resource_group[0].aws_resourcegroups_group.this
Expand Down
2 changes: 1 addition & 1 deletion modules/org-account/migrations.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 2022-11-24
# 2022-11-24
moved {
from = aws_resourcegroups_group.this[0]
to = module.resource_group[0].aws_resourcegroups_group.this
Expand Down
2 changes: 1 addition & 1 deletion modules/org-organizational-unit/migrations.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 2022-11-24
# 2022-11-24
moved {
from = aws_resourcegroups_group.this[0]
to = module.resource_group[0].aws_resourcegroups_group.this
Expand Down
2 changes: 1 addition & 1 deletion modules/sso-permission-set/migrations.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 2022-11-24
# 2022-11-24
moved {
from = aws_resourcegroups_group.this[0]
to = module.resource_group[0].aws_resourcegroups_group.this
Expand Down

0 comments on commit bf71085

Please sign in to comment.