Skip to content

Commit

Permalink
r/aws_ecs_service: triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsonaj committed Nov 29, 2022
1 parent e5495cc commit ebcbabc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/service/ecs/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -771,6 +771,8 @@ func resourceServiceRead(d *schema.ResourceData, meta interface{}) error {
d.Set("platform_version", service.PlatformVersion)
d.Set("enable_execute_command", service.EnableExecuteCommand)

d.Set("triggers", d.Get("triggers"))

// Save cluster in the same format
if strings.HasPrefix(d.Get("cluster").(string), "arn:"+meta.(*conns.AWSClient).Partition+":ecs:") {
d.Set("cluster", service.ClusterArn)
Expand Down

0 comments on commit ebcbabc

Please sign in to comment.