oponomarov-tu
04/21/2023, 7:53 AMatlantis apply -p production -- -target='module.infra.module.mssql-1.aws_ebs_volume.disks["xvdi"]'
The reason why I'm asking is because once we commented this on a PR, — Atlantis ran a full apply for the project.
Atlantis version: "version": "v0.23.5 (commit: 9119089) (build date: 2023-04-17T21:36:27.834Z)"
Terraform version: v1.3.7
Atlantis server logs:
{
"@timestamp": "2023-04-21T07:04:12.316Z",
"level": "info",
"ts": "2023-04-21T07:04:12.316Z",
"caller": "events/events_controller.go:545",
"msg": "parsed comment as command=\"apply\" verbose=false dir=\"\" workspace=\"\" project=\"production\" flags=\"-target=module.infra.module.mssql-1.aws_ebs_volume.disks[\\\"xvdi\\\"]\"",
"json": {
"gh-request-id": "X-Github-Delivery=<redacted>"
},
"container_name": "atlantis",
"source": "stderr",
"container_id": "<redacted>",
"ecs_cluster": "atlantis",
"ecs_task_arn": "<redacted>",
"ecs_task_definition": "atlantis:64"
}
Running same targetting without Atlantis works fine.PePe Amengual
04/21/2023, 4:10 PMoponomarov-tu
04/21/2023, 4:10 PMIsaac Wilson
04/21/2023, 6:55 PMxvdi
too