Skip to content

Commit

Permalink
Merge pull request #6718 from AMeng/issue-378
Browse files Browse the repository at this point in the history
Create new resource for changed aws_iam_user_ssh_key public_key and encoding
  • Loading branch information
bflad authored Dec 5, 2018
2 parents 1709dcd + 6bafd80 commit efe63a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aws/resource_aws_iam_user_ssh_key.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,13 @@ func resourceAwsIamUserSshKey() *schema.Resource {
"public_key": {
Type: schema.TypeString,
Required: true,
ForceNew: true,
},

"encoding": {
Type: schema.TypeString,
Required: true,
ForceNew: true,
ValidateFunc: validation.StringInSlice([]string{
iam.EncodingTypeSsh,
iam.EncodingTypePem,
Expand Down

0 comments on commit efe63a4

Please sign in to comment.