Skip to content

Instantly share code, notes, and snippets.

View conzy's full-sized avatar

Conor Maher conzy

  • Conjura
  • Waterford, Ireland
View GitHub Profile
@conzy
conzy / config.tf
Created March 23, 2022 21:49
Bucket policy that allows multiple accounts for AWS Config bucket
data "aws_iam_policy_document" "config_organization" {
statement {
principals {
identifiers = ["config.amazonaws.com"]
type = "Service"
}
actions = ["s3:GetBucketAcl"]
resources = [module.config_bucket.bucket_arn]
condition {
test = "StringEquals"
@conzy
conzy / processing_step.json
Created September 1, 2021 19:28
Example of using a Step Function to orchestrate a containerised Sagemaker processing job
{
"Processing": {
"Resource": "arn:aws:states:::sagemaker:createProcessingJob.sync",
"Parameters": {
"ProcessingResources": {
"ClusterConfig": {
"InstanceCount": 1,
"InstanceType": "ml.m5.large",
"VolumeSizeInGB": 10
}
@conzy
conzy / gist:0ce6a7bf64c7b4d12ff485a47a634c26
Created October 21, 2019 13:22
Find all parameters in an RDS parameter group that have been modified. aws cli + jq
aws rds describe-db-cluster-parameters \
--db-cluster-parameter-group-name your-parameter-group | \
jq '.Parameters[] | select(.Source == "user")'

Keybase proof

I hereby claim:

  • I am conzy on github.
  • I am conorm (https://keybase.io/conorm) on keybase.
  • I have a public key ASDIg6pRYt9n026ifhAQGQSKYXfxHwP_EvRAnB2kDTzMIAo

To claim this, I am signing this object: