-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Can't use patch source(s) with ssm_patch_baseline #4748
Comments
Any reason why put this as a separate resource rather than a nested attribute? |
Any news on this fix?? Currently we have to use a script with Boto3 (or AWS SDK) or the AWS CLI to configure the SSM patch baseline sources. |
This is feasible - although it is only for Linux OSs - I trust AWS are validating this against their API. Proposed configuration: resource "aws_ssm_patch_baseline" "production" {
name = "patch-baseline"
description = "Patch Baseline Description"
operating_system = "CENTOS"
# New param below
patch_sources = ["abc123.com"]
...
} Will try to pick this up in next few weeks. |
Revising the proposed configuration for this: resource "aws_ssm_patch_baseline" "production" {
name = "patch-baseline"
description = "Patch Baseline Description"
operating_system = "CENTOS"
# New param below
patch_source {
configuration = <<EOF
<configuration_here>
EOF
name = "name123"
products = ["Ubuntu..", "OtherProduct"]
}
patch_source {
... # Another patch source
}
...
} These will then translate to a list of patch_sources. Validation to be performed on: patch_source
PatchSource.Configuration
PatchSource.Name
PatchSource.Products
|
This functionality has been merged and will release with version 3.28.0 of the Terraform AWS Provider, later today. Thank you to @jdheyburn for the implementation. 👍 |
This has been released in version 3.28.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Looks like terraform module is missing configuration parameters to specify alternative patch sources/repositories.
This is available via sdk/api: https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSM/Types/PatchSource.html.
The text was updated successfully, but these errors were encountered: