File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
internal/service/resiliencehub Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -211,6 +211,7 @@ resource "aws_resiliencehub_app" "test" {
211
211
func testAccAppConfig_terraformSource (rName string ) string {
212
212
return fmt .Sprintf (`
213
213
data "aws_caller_identity" "current" {}
214
+ data "aws_partition" "current" {}
214
215
data "aws_region" "current" {}
215
216
216
217
resource "aws_s3_bucket" "test" {
@@ -261,7 +262,7 @@ resource "aws_s3_object" "tfstate" {
261
262
schema_version = 0
262
263
attributes = {
263
264
function_name = "test-function"
264
- arn = "arn:aws :lambda:${data.aws_region.current.name}:${data.aws_caller_identity.current.account_id}:function:test-function"
265
+ arn = "arn:${data.aws_partition.current.partition} :lambda:${data.aws_region.current.name}:${data.aws_caller_identity.current.account_id}:function:test-function"
265
266
}
266
267
}
267
268
]
You can’t perform that action at this time.
0 commit comments