Skip to content

Instantly share code, notes, and snippets.

@s-rohith
s-rohith / policy.json
Created April 29, 2023 16:12
read-only s3 bucket policy
View policy.json
{
"Version": "2012-10-17",
"Statement": [
{
"Action": [
"s3:GetBucketLocation",
"s3:ListBucket"
],
"Effect": "Allow",
"Principal": {
View Dockerfile
FROM ubuntu
RUN apt update && apt install git -y
# Install rbenv
RUN git clone https://github.com/rbenv/rbenv.git /usr/local/.rbenv
ENV PATH /usr/local/.rbenv/bin:$PATH
RUN eval "$(rbenv init -)"
View bosh-addon
# Update runtime config on the Director, bosh update-runtime-config
Example:
bosh update-runtime-config runtime.yml
bosh runtime-config
# To remove all addons, specify empty arrays as follows:
releases: []
addons: []