Hi ,
I am trying to deploy terraform through gocd on AWS.
After successfully running terraform plan gocd is not able to upload the plan.
I am getting the below error.
&1|12:48:29.593
&1|12:48:29.593 This plan was saved to: ../../../terraformout.plan
&1|12:48:29.593
&1|12:48:29.593 To perform exactly these actions, run the following command to apply:
&1|12:48:29.593 terraform apply "../../../terraformout.plan"
&1|12:48:29.594
?0|12:48:29.689 [go] Task status: passed (9054 ms)
j0|12:48:29.699 [go] Current job status: passed
##|12:48:29.711 [go] Start to create properties Argos-PII-Production/17/plan-deployment/1/terraform-plan on ip-10-0-0-170.eu-west-1.compute.internal [/go]
ar|12:48:29.711 [go] Start to upload Argos-PII-Production/17/plan-deployment/1/terraform-plan on ip-10-0-0-170.eu-west-1.compute.internal [/go]
ae|12:48:29.712 [go] The rule [terraformout.plan] cannot match any resource under [pipelines/Argos-PII-Production]
ae|12:48:29.712 [go] [go] Uploading finished. Failed to upload [terraformout.plan].
ex|12:48:29.712 [go] Job completed Argos-PII-Production/17/plan-deployment/1/terraform-plan on ip-10-0-0-170.eu-west-1.compute.internal [/go]
I am new to gocd and not sure where is it going wrong.
Can you please help.
Thanks,
Shymala.