Skip to content

Commit

Permalink
Update elasticbeanstalk.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
kjlippold authored Feb 29, 2024
1 parent 164147f commit 703f2db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/aws/elasticbeanstalk.tf
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ resource "aws_elastic_beanstalk_environment" "hydroserver_django_env" {
setting {
namespace = "aws:autoscaling:launchconfiguration"
name = "IamInstanceProfile"
value = "arn:aws:iam::${var.aws_account_id}:role/HydroServerStorageManager"
value = "arn:aws:iam::${data.aws_caller_identity.current.account_id}:role/HydroServerStorageManager"
}

setting {
Expand Down

0 comments on commit 703f2db

Please sign in to comment.