Code Monkey home page Code Monkey logo

Comments (4)

jparnaudeau avatar jparnaudeau commented on July 4, 2024

Hi,

Can you check that you have python3 correctly installed on your workstation ? Can you check that the module/register_default_patch_baseline/register-default-patch-baseline.py have the correct permissions ?

from terraform-aws-ssm-patch-management.

jparnaudeau avatar jparnaudeau commented on July 4, 2024

For your information : i have published a new version 1.0.3 that should fix the error related to the use of "register-patch-baseline-for-patch-group.sh" when calling the patch_baseline submodule. The inital bug have been fixed in the provider, so we can use the official resource aws_ssm_patch_group.

from terraform-aws-ssm-patch-management.

karimooo avatar karimooo commented on July 4, 2024

Hi,
Thanks a lot for your quick feedback.

Yes permissions an py script are ok
image
I can't check the version on python cause not admin on gitlabrunner , i launch the terraform via gitlabci pipeline
On my workstation i'm done with python version
image

from terraform-aws-ssm-patch-management.

jparnaudeau avatar jparnaudeau commented on July 4, 2024

Hi karimoo,
Hmmm i think it's a problem in your runner, maybe it does not allow the execution of the python script ?

Unfortunately, the aws terraform provider does not provide a way to make the "defaut registration" of a patch baseline. I have coded this ugly "null_resource" to do it but it's not very the good approach.

I advice you to pass

set_default_patch_baseline = false

and make the call to the aws api by yourself :

response = client.register_default_patch_baseline(BaselineId=baselineId)

from terraform-aws-ssm-patch-management.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.