Pulumi ComponentResource for create ACM Certificate and validate it with DNS validation method
Project description
pulumi-aws-acm
Pulumi ComponentResource for create AWS ACM Certificate and validate it with DNS validation method
How to install
pip install pulumi-aws-acm
# or
pip install git+git://github.com/jetbrains-infra/pulumi-aws-acm@<tag or branch>
How to use
import pulumi
from pulumi_aws_acm import Certificate
from pulumi_aws import Provider
cert_provider = Provider('cert-provider', region='us-east-1')
certificate = Certificate('test',
issue='sre-123',
stack='staging',
zones={
'zone_id-1': ['example.com', 'www.example.com'],
'zone_id-2': ['example.org', 'www.example.org'],
},
opts=pulumi.ResourceOptions(provider=cert_provider))
pulumi.export('certificate-arn', certificate.certificate_validation.certificate_arn)
ACM Certificate will be issued for first domain name from first zone, example.com
as for code above and with SANs:['www.example.com', 'example.org', 'www.example.org']
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pulumi-aws-acm-0.1.0.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for pulumi_aws_acm-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc946ad0fc3301c41639b2476776dd7d08b58e8a9e5e6c2dde360f9dc3a46dcd |
|
MD5 | 51ccf7a9a5341d40f90922b625f761a5 |
|
BLAKE2b-256 | 0bfef9b82fd16e32a0898615e1d8b95879eb5c5b60eb14fb1756b5cb98e89627 |