Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aws_efs_file_system: Support single Availability Zone storage classes #18319

Merged
merged 4 commits into from
Mar 31, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'main' of github.com:hashicorp/terraform-provider-aws in…
…to support_single_az_efs
shuheiktgw committed Mar 30, 2021

Verified

This commit was signed with the committer’s verified signature.
fwyzard Andrea Bocci
commit feadaed08065cad18ff217765ebd4e465f842472
10 changes: 1 addition & 9 deletions aws/resource_aws_efs_file_system.go
Original file line number Diff line number Diff line change
@@ -302,15 +302,7 @@ func resourceAwsEfsFileSystemRead(d *schema.ResourceData, meta interface{}) erro
return nil
}

fsARN := arn.ARN{
AccountID: meta.(*AWSClient).accountid,
Partition: meta.(*AWSClient).partition,
Region: meta.(*AWSClient).region,
Resource: fmt.Sprintf("file-system/%s", aws.StringValue(fs.FileSystemId)),
Service: "elasticfilesystem",
}.String()

d.Set("arn", fsARN)
d.Set("arn", fs.FileSystemArn)
d.Set("availability_zone_id", fs.AvailabilityZoneId)
d.Set("availability_zone_name", fs.AvailabilityZoneName)
d.Set("creation_token", fs.CreationToken)
You are viewing a condensed version of this merge commit. You can view the full changes here.