Skip to content

Conversation

@cweibel
Copy link
Contributor

@cweibel cweibel commented Sep 18, 2025

Changes proposed in this pull request:

  • The script in cron.yml currently relies of the installation of the AWS CLI from the awslogs release, these is being deprecated so a replacement is needed.
  • The package in awslogs leverages a deprecated version of python (3.7.5) to install the v1 version of the AWS CLI
  • The new os-conf based solution installs the AWS CLI v2 which does not have the separate python dependency
  • After testing, a later PR will remove the temporary ops file tooling-bosh-awslogs.yml
  • Part of https://github.com/cloud-gov/private/issues/2623

security considerations

Removes older python from the bosh director and upgrades to a newer generation of the AWS CLI

@cweibel cweibel requested a review from a team as a code owner September 18, 2025 16:47
- bosh-config/operations/add-cloud-gov-root-certificate.yml
- bosh-config/operations/nats-payload.yml
- bosh-config/operations/root-disk.yml
- bosh-config/operations/tooling-bosh-awslogs.yml
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume we can delete tooling-bosh-awslogs then?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, once this gets tested out in dev, I'll make another PR to pull the temporary ops file.

release: os-conf
properties:
script: |
#!/bin/bash
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a pretty standard way to do things in BOSH?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is a workaround for now, if we get time to make a full bosh release for this, or can find another donor release, we can do that.

We use os-conf release for a number of odds-n-ends installs

@cweibel cweibel merged commit e41d121 into main Sep 18, 2025
4 checks passed
@cweibel cweibel deleted the aws-cli-v2 branch September 18, 2025 17:02
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.

3 participants