Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Sample app failing to create "dev-resource-group" property as ALM DA already created it #68

Closed
ocofaigh opened this issue Sep 30, 2024 · 1 comment

Comments

@ocofaigh
Copy link
Member

Stack is failing on sample app deploy with below error because its trying to create the dev-resource-group property, however it was already created in the ci_pipeline_properties input of the ALM DA:
image

Error:

2024/09/30 16:24:37 Terraform apply | Error: CreateTektonPipelinePropertiesWithContext failed Property of the same name exists.
 2024/09/30 16:24:37 Terraform apply | {
 2024/09/30 16:24:37 Terraform apply |     "StatusCode": 400,
 2024/09/30 16:24:37 Terraform apply |     "Headers": {
 2024/09/30 16:24:37 Terraform apply |         "Cf-Cache-Status": [
 2024/09/30 16:24:37 Terraform apply |             "DYNAMIC"
 2024/09/30 16:24:37 Terraform apply |         ],
 2024/09/30 16:24:37 Terraform apply |         "Cf-Ray": [
 2024/09/30 16:24:37 Terraform apply |             "8cb58eec18512c86-DFW"
 2024/09/30 16:24:37 Terraform apply |         ],
 2024/09/30 16:24:37 Terraform apply |         "Content-Length": [
 2024/09/30 16:24:37 Terraform apply |             "247"
 2024/09/30 16:24:37 Terraform apply |         ],
 2024/09/30 16:24:37 Terraform apply |         "Content-Security-Policy": [
 2024/09/30 16:24:37 Terraform apply |             "default-src 'self';style-src 'self' https://*.liveperson.net https://*.lpsnmedia.net https://cdn.walkme.com/ https://*.medallia.eu https://*.kampyle.com https://cloud.ibm.com/ 'unsafe-inline';script-src 'self' 'unsafe-eval' https://cdn.segment.com/ https://*.prefmgr-cookie.truste-svc.net https://consent.truste.com/ https://consent.trustarc.com/ https://*.go-mpulse.net https://*.walkme.com https://*.market-pay.com https://*.marketplace.ibm.com https://*.liveperson.net https://*.lpsnmedia.net https://*.kampyle.com https://*.medallia.eu https://cloud.ibm.com/ 'unsafe-inline';script-src-attr 'self' https://*.liveperson.net https://*.lpsnmedia.net 'nonce-undefined';connect-src 'self' https://api.segment.io/ https://*.akstat.io https://prefmgr-cookie.truste-svc.net/ https://*.trustarc.com https://*.walkme.com https://*.go-mpulse.net https://cdn.segment.com/ https://*.ice.ibmcloud.com wss://va.msg.liveperson.net/ https://*.liveperson.net https://*.softlayer.com 'nonce-undefined' https://*.medallia.eu https://*.kampyle.com https://cloud.ibm.com/ https://login.ibm.com/ https://*.softlayer.com https://*.akamaihd.net;child-src 'self' https://consent.trustarc.com/ https://*.medallia.eu https://*.kampyle.com;font-src 'self' data: https://*.s81c.com https://*.medallia.eu https://*.kampyle.com;base-uri 'self' 'nonce-undefined' https://*.kampyle.com;form-action 'self';frame-ancestors 'self';img-src 'self' data: https: https://*.lpsnmedia.net https://*.medallia.eu https://*.kampyle.com;media-src 'self' https://*.ibm.com https://*.bluemix.net https://*.containers.appdomain.cloud https://*.lpsnmedia.net;frame-src 'self' https://*.trustarc.com https://*.market-pay.com https://*.marketplace.ibm.com https://*.liveperson.net https://*.lpsnmedia.net https://*.medallia.eu https://*.kampyle.com;report-uri /devops/pipelines/csp-report?env_id=ibm:yp:us-south;object-src 'none';upgrade-insecure-requests"
 2024/09/30 16:24:37 Terraform apply |         ],
 2024/09/30 16:24:37 Terraform apply |         "Content-Type": [
 2024/09/30 16:24:37 Terraform apply |             "application/json; charset=utf-8"
 2024/09/30 16:24:37 Terraform apply |         ],
 2024/09/30 16:24:37 Terraform apply |         "Date": [
 2024/09/30 16:24:37 Terraform apply |             "Mon, 30 Sep 2024 16:23:35 GMT"
 2024/09/30 16:24:37 Terraform apply |         ],
 2024/09/30 16:24:37 Terraform apply |         "Etag": [
 2024/09/30 16:24:37 Terraform apply |             "W/\"f7-HB1i/4lJ1M4jhhMe3i0Uhdrsd7k\""
 2024/09/30 16:24:37 Terraform apply |         ],
 2024/09/30 16:24:37 Terraform apply |         "Referrer-Policy": [
 2024/09/30 16:24:37 Terraform apply |             "no-referrer-when-downgrade"
 2024/09/30 16:24:37 Terraform apply |         ],
 2024/09/30 16:24:37 Terraform apply |         "Server": [
 2024/09/30 16:24:37 Terraform apply |             "cloudflare"
 2024/09/30 16:24:37 Terraform apply |         ],
 2024/09/30 16:24:37 Terraform apply |         "Strict-Transport-Security": [
 2024/09/30 16:24:37 Terraform apply |             "max-age=31536000; includeSubDomains"
 2024/09/30 16:24:37 Terraform apply |         ],
 2024/09/30 16:24:37 Terraform apply |         "Vary": [
 2024/09/30 16:24:37 Terraform apply |             "Accept-Encoding"
 2024/09/30 16:24:37 Terraform apply |         ],
 2024/09/30 16:24:37 Terraform apply |         "X-Content-Type-Options": [
 2024/09/30 16:24:37 Terraform apply |             "nosniff"
 2024/09/30 16:24:37 Terraform apply |         ],
 2024/09/30 16:24:37 Terraform apply |         "X-Envoy-Upstream-Service-Time": [
 2024/09/30 16:24:37 Terraform apply |             "316"
 2024/09/30 16:24:37 Terraform apply |         ]
 2024/09/30 16:24:37 Terraform apply |     },
 2024/09/30 16:24:37 Terraform apply |     "Result": {
 2024/09/30 16:24:37 Terraform apply |         "errors": [
 2024/09/30 16:24:37 Terraform apply |             {
 2024/09/30 16:24:37 Terraform apply |                 "code": "non_unique_property_name",
 2024/09/30 16:24:37 Terraform apply |                 "message": "Property of the same name exists.",
 2024/09/30 16:24:37 Terraform apply |                 "more_info": "https://cloud.ibm.com/apidocs/tekton-pipeline"
 2024/09/30 16:24:37 Terraform apply |             }
 2024/09/30 16:24:37 Terraform apply |         ],
 2024/09/30 16:24:37 Terraform apply |         "trace": "d9d8ccd0-5f32-4458-86a3-bc0d22111f12"
 2024/09/30 16:24:37 Terraform apply |     },
 2024/09/30 16:24:37 Terraform apply |     "RawResult": null
 2024/09/30 16:24:37 Terraform apply | }
 2024/09/30 16:24:37 Terraform apply | 
 2024/09/30 16:24:37 Terraform apply | 
 2024/09/30 16:24:37 Terraform apply |   with ibm_cd_tekton_pipeline_property.resource_group_name_pipeline_property_cd[0],
 2024/09/30 16:24:37 Terraform apply |   on main.tf line 270, in resource "ibm_cd_tekton_pipeline_property" "resource_group_name_pipeline_property_cd":
 2024/09/30 16:24:37 Terraform apply |  270: resource "ibm_cd_tekton_pipeline_property" "resource_group_name_pipeline_property_cd" {
 2024/09/30 16:24:37 Terraform apply |
@ocofaigh
Copy link
Member Author

#67

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants