Code Monkey home page Code Monkey logo

terraform-aws-ssm-patch-management's Issues

Python add region

Hello,

FYI Looks like based on my prior issue #6 , you need to pass the AWS CLI profile and region to the python script as arguments for registering the default baseline. It assumes the profile of your AWS credentials and if you specify your region here, it is what will be used.

Right now while running multiple regions, the created baseline does not get set as default to an alternate region under the same AWS account.

wrong version for amazon linux

Error: ValidationException: Invalid Filter Value: AmazonLinux2018.09 for Key: PRODUCT, valid values are: AmazonLinux2012.03, AmazonLinux2012.09, AmazonLinux2013.03, AmazonLinux2013.09, AmazonLinux2014.03, AmazonLinux2014.09, AmazonLinux2015.03, AmazonLinux2015.09, AmazonLinux2016.03, AmazonLinux2016.09, AmazonLinux2017.03, AmazonLinux2017.09, AmazonLinux2018.03
        status code: 400, request id: 12847e99-03f7-4cc6-bd82-2cbf06f5c998

the deployment tries to use a version that does not exist and it throws an error, a find and replace will fix it, but the last value in the array should be AmazonLinux2018.03, and its set to be AmazonLinux2018.09

Error during creation patch baseline

Hello,
i'm facing an issue during creation of the patchbaseline with this error :
Error: Error running command ' module/register_default_patch_baseline/register-default-patch-baseline.py register pb-01ec5ab46be344feb CENTOS
': exit status 126. Output: /bin/sh: module/register_default_patch_baseline/register-default-patch-baseline.py: Permission denied
Error: Error running command ' module/patch_baseline/register-patch-baseline-for-patch-group.sh pb-01ec5ab46be344feb dev
': exit status 126. Output: /bin/sh: module/patch_baseline/register-patch-baseline-for-patch-group.sh: Permission denied
Error: Error running command ' module/patch_baseline/register-patch-baseline-for-patch-group.sh pb-01ec5ab46be344feb dev
': exit status 126. Output: /bin/sh: module/patch_baseline/register-patch-baseline-for-patch-group.sh: Permission denied

This is the final step to apply this module on my architecture .
Thanks a lot for your help.
Regards
Karim

image

scan_maintenance_windows_targets -- code commented out, but code is failing

│ Error: ValidationException: Please specify at least one target. Filter values can't be null and tag:Patch Group is.
│ status code: 400, request id: 817689b0-bf0b-4572-aa25-37d092e52ed4

│ with module.AMS-NON-PROD-WINDOW-PATCH.module.AMS-NON-PROD-PATCH-WINDOW-2.aws_ssm_maintenance_window_target.target_scan[0],
│ on ....\maintenance_windows\main.tf line 44, in resource "aws_ssm_maintenance_window_target" "target_scan":
│ 44: resource "aws_ssm_maintenance_window_target" "target_scan" {

Please help ...

Support passing custom aws provider

For multi-region deployments it'd be nice to add to your modules an AWS provider configuration so we may duplicate the modules for multiple regions

example:

  providers = { aws = aws.ca-central-1 }

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.