Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add file for updatecli for versions.tf for random #147

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

saurabhraghuvanshii
Copy link

@saurabhraghuvanshii saurabhraghuvanshii commented Feb 20, 2025

fixes #146

  • try to add file and made changes
    on running command for check it locally command is updatecli apply --config updatecli/updatecli.d/hashicorp-random.yaml

  • error I am facing on defining path of file try to changes some path config but didn't work and refer exist files but didn't work for me

  • issue are

@saurabhraghuvanshii
Copy link
Author

+++++++++++
+ PREPARE +
+++++++++++

Loading Pipeline "updatecli/updatecli.d/hashicorp-random.yaml"

SCM repository retrieved: 1


++++++++++++++++++
+ AUTO DISCOVERY +
++++++++++++++++++



++++++++++++
+ PIPELINE +
++++++++++++



#########################
# HASHICORP-RANDOM.YAML #
#########################

source: source#getLatestRandomProviderVersion
-------------------------------------
Searching for version matching pattern "*"
✔ Terraform registry version 3.6.3 found

target: target#updateRandomProviderVersion
----------------------------------

ERROR: something went wrong in "target#updateRandomProviderVersion" : something went wrong in target "updateRandomProviderVersion" : "✗ cannot find value for path \"terraform.required_providers.random.version\" from file \"versions.tf\""

Pipeline "HASHICORP-RANDOM.YAML" failed
Skipping due to:
        something went wrong during target execution


ACTIONS
========

ERROR: 1 target(s) (updateRandomProviderVersion) failed for action "default"

HASHICORP-RANDOM.YAML
  => Bump version of the hashicorp/random provider to 3.6.3

No follow up action needed

=============================

SUMMARY:



✗ HASHICORP-RANDOM.YAML:
        Source:
                ✔ [getLatestRandomProviderVersion] Retrieve the latest version of hashicorp/random provider
        Target:
                ✗ [updateRandomProviderVersion] Update the Terraform "random" provider version in versions.tf


Run Summary
===========
Pipeline(s) run:
  * Changed:    0
  * Failed:     1
  * Skipped:    0
  * Succeeded:  0
  * Total:      1

ERROR: ✗ 1 over 1 pipeline failed
ERROR: command failed: 1 over 1 pipeline failed

@saurabhraghuvanshii
Copy link
Author

@dduportal sir , review it

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

Successfully merging this pull request may close these issues.

[updatecli] Track the Random in versions.tf
1 participant