Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
appilon committed May 20, 2020
1 parent 02ab8ec commit a926670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/resource_aws_sns_topic.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ func resourceAwsSnsTopicRead(d *schema.ResourceData, meta interface{}) error {
if attributeOutput.Attributes != nil && len(attributeOutput.Attributes) > 0 {
attrmap := attributeOutput.Attributes
for terraformAttrName, snsAttrName := range SNSAttributeMap {
v, err := strconv.ParseInt(aws.StringValue(attrmap[snsAttrName], 10, 64))
v, err := strconv.ParseInt(aws.StringValue(attrmap[snsAttrName]), 10, 64)
// if the attribute is an integer the schema is probably an integer
if err == nil {
d.Set(terraformAttrName, v)
Expand Down

0 comments on commit a926670

Please sign in to comment.