• sceptre: Using Stack Outputs for Dependent CloudFormation Stacks

    2 min read

    sceptre stack_output AWS CloudFormation

    Sceptre is a command-line tool that allows you to manage AWS CloudFormation stacks. One of the features of sceptre is the ability to use stack outputs in other stacks, allowing you to create a dependent relationship between stacks, where one stack's output can be used as an input to another stack.

    30/01/2023

    Read more...
  • External Secrets Operator: Using versioned secrets from the AWS Secrets Manager

    2 min read

    Kubernetes ExternalSecret Secrets Manager AWS versions

    When using the AWS Secrets Manager, every time a secret is updated, it creates a new version with a unique uuid. It will also update the VersionStages AWSCURRENT and AWSPREVIOUS to point to the current and the previous version. We can use them with the External Secrets Operator to retrieve the current and the previous version of a secret

    11/01/2023

    Read more...
  • AWS CLI: Error parsing AWS config file

    1 min read

    AWS parse config file .aws/config

    One mistake on the .aws/config can lead to a very confusing error message:

    $ aws sts get-caller-identity
    (...)
    botocore.exceptions.ConfigParseError: Unable to parse config file: /home/pet2cattle/.aws/config
    

    01/12/2022

    Read more...
  • OpenShift ROSA: Get the OIDC URL within the cluster

    1 min read

    AWS Kubernetes OpenShift ROSA OIDC Identity provider

    When running a ROSA cluster (OpenShift on AWS) we might need to get it's Identity provider (OIDC) for, for example, configure STS (IRSA). We can get it directly from the cluster reading the Authentication object

    20/10/2022

    Read more...
  • Updating secrets using the External Secrets Operator

    3 min read

    Kubernetes Secret ExternalSecret Operator update

    When we are using an ExternalSecret the actual secret is stored elsewhere, being the External Secret Operator in charge of updating the Secret object with the datata if fetches from the SecretStore. What happens when the Secret is updated?

    11/10/2022

    Read more...

More recent...

Older content...