1.0.17 • Published 4 years ago

@movenium/distribution-bucket v1.0.17

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Usage

  1. install pulumi in sub folder
mkdir pulumi
cd pulumi
pulumi new aws-typescript
  1. Add @movenium/distribution-bucket
yarn add @movenium/distribution-bucket
  1. Copy this to index.ts
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
import * as awsx from "@pulumi/awsx";
import { DistributionBucket } from "@movenium/distribution-bucket"

let config = new pulumi.Config();

const dist = new DistributionBucket("dist-bucket", {url: config.require("url"), certificateArn: config.require("certificateArn")})

export const bucket = dist.bucketName
export const domain = dist.domain
  1. Add url and certificationArn to pulumi conf
pulumi config set url <url>
pulumi config set certificateArn <arn>
  1. run pulumi
pulumi up

Upgrading

Upgrading from 1.0.11 ->

CDN component naming has changed. Because of that you must set addCdnAliasForBackwardscompatibility to true once (in atleast on pulumi up) so component naming is mapped correctly.

1.0.17

4 years ago

1.0.16

4 years ago

1.0.11

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago