I’ve been working on deploying an app using GitLab...
# general
e
I’ve been working on deploying an app using GitLab as CI/CD and using SSM parameters for storing config variables but have been getting this error:
Copy code
Error Invoke of 'aws:ssm/getParameter:getParameter' failed: rpc error: code = Unknown desc = invocation of aws:ssm/getParameter:getParameter returned an error: invoking aws:ssm/getParameter:getParameter: Error describing SSM parameter: ParameterNotFound:status code: 400
error: update failed
I’ve verified the parameters, IAM permissions and values of the parameters and everything seems to be fine. It doesn’t give any parameter to check in specific where the error log isn’t being helpful. Any idea on how this can be resolved?
m
Are you sure the plan is running against the correct AWS account?
e
Just verified, yes it is running against the correct account.
m
Have you checked CloudTrail?
e
Yes, nothing helpful
m
on-prem GitLab or SaaS?
e
On-prem
m
could it be Firewall related?
e
So the weird part here is, the same code with same permissions is running fine in Dev but is failing in Test environment.
b
@echoing-midnight-60897 AWS will return this if you don't have permission to retrieve the parameter. check there's no policy blocking this
f
e
Great, going to try the above two and will update here.
👍 1
This ended up being an issue with the CI/CD tool that we’re using.
👍 1