File tree Expand file tree Collapse file tree 3 files changed +12
-8
lines changed Expand file tree Collapse file tree 3 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -31,10 +31,11 @@ func ResourceSNSCredentials() *schema.Resource {
3131 Description : "The credentials name" ,
3232 },
3333 "permissions" : {
34- Type : schema .TypeList ,
35- MaxItems : 1 ,
36- Optional : true ,
37- Computed : true ,
34+ Type : schema .TypeList ,
35+ Description : "The permissions attached to the credentials" ,
36+ MaxItems : 1 ,
37+ Optional : true ,
38+ Computed : true ,
3839 Elem : & schema.Resource {
3940 Schema : map [string ]* schema.Schema {
4041 "can_publish" : {
Original file line number Diff line number Diff line change @@ -47,12 +47,14 @@ func ResourceSNSTopicSubscription() *schema.Resource {
4747 },
4848 "topic_arn" : {
4949 Type : schema .TypeString ,
50+ Description : "ARN of the topic" ,
5051 Optional : true ,
5152 AtLeastOneOf : []string {"topic_id" },
5253 ForceNew : true ,
5354 },
5455 "topic_id" : {
5556 Type : schema .TypeString ,
57+ Description : "ID of the topic" ,
5658 Optional : true ,
5759 AtLeastOneOf : []string {"topic_arn" },
5860 ForceNew : true ,
Original file line number Diff line number Diff line change @@ -31,10 +31,11 @@ func ResourceSQSCredentials() *schema.Resource {
3131 Description : "The credentials name" ,
3232 },
3333 "permissions" : {
34- Type : schema .TypeList ,
35- MaxItems : 1 ,
36- Optional : true ,
37- Computed : true ,
34+ Type : schema .TypeList ,
35+ Description : "The permissions attached to the credentials" ,
36+ MaxItems : 1 ,
37+ Optional : true ,
38+ Computed : true ,
3839 Elem : & schema.Resource {
3940 Schema : map [string ]* schema.Schema {
4041 "can_publish" : {
You can’t perform that action at this time.
0 commit comments