Skip to content

Commit

Permalink
fix default status for aws_iam_access_key
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeePal committed Jun 1, 2021
1 parent 07a311d commit bfcc8c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/19606.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
resource/aws_iam_access_key: Fix status not defaulting to Active
```
2 changes: 1 addition & 1 deletion aws/resource_aws_iam_access_key.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func resourceAwsIamAccessKey() *schema.Resource {
"status": {
Type: schema.TypeString,
Optional: true,
Computed: true,
Default: "Active",
ValidateFunc: validation.StringInSlice([]string{
iam.StatusTypeActive,
iam.StatusTypeInactive,
Expand Down

0 comments on commit bfcc8c1

Please sign in to comment.