feat: add mock, latest Pulumi

This commit is contained in:
Stefan Reimer 2022-06-22 15:08:45 +02:00
parent 59308a72d4
commit 34bd98e3f3
4 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
ARG RUNTIME_VERSION="3.8"
ARG DISTRO_VERSION="3.15"
ARG PULUMI_VERSION="3.33.2"
ARG PULUMI_VERSION="3.34.0"
FROM python:${RUNTIME_VERSION}-alpine${DISTRO_VERSION} AS builder
ARG PULUMI_VERSION
@ -51,6 +51,7 @@ RUN apk upgrade -U --available --no-cache && \
libstdc++ \
libc6-compat \
ca-certificates \
aws-cli \
podman
COPY --from=builder /venv /venv

View File

@ -120,10 +120,10 @@ def pulumi_init(stack, create=False):
_version = "undefined"
# Tag all resources with our metadata, allowing "prune" eventually
_tags["zero-downtime.net/cloudbender/source"] = "{}:{}".format(
_tags["zdt:cloudbender.source"] = "{}:{}".format(
os.path.basename(stack._pulumi_code.__file__), _version
)
_tags["zero-downtime.net/cloudbender/owner"] = f"{project_name}.{pulumi_stackname}"
_tags["zdt:cloudbender.owner"] = f"{project_name}.{pulumi_stackname}"
_config = {
"aws:region": stack.region,

View File

@ -6,4 +6,3 @@ cfn-lint>=0.34
pulumi
pulumi-aws
pulumi-aws-native
pulumi_cloudinit

View File

@ -1,4 +1,5 @@
boto3
mock
Jinja2>=3.0.0
click
pyminifier
@ -6,7 +7,6 @@ cfn-lint>=0.34
pulumi
pulumi-aws
pulumi-aws-native
pulumi_cloudinit
# apprise
# flake8