Skip to main content

A Pulumi package for creating and managing Canonical Metal-As-A-Service (MAAS) resources.

Project description

pulumi_maas

A Pulumi package for creating and managing Canonical Metal-As-A-Service (MAAS) resources.

Prerequisites

Before you begin, make sure you have the following prerequisites installed and configured:

pulumi new python
pulumi stack init dev

Install pulumi-maas Python 3 package:

pip install pulumi-maas

Export MaaS variables:

export MAAS_API_VERSION=2.0
export MAAS_API_KEY=xxxxxxxx
export MAAS_API_URL=http://maas.example.org:5240/MAAS

Examples

Create a new domain

import pulumi
import pulumi_maas as maas

test_example_domain = maas.DnsDomain(
    "test_domain",
    name="test.example.org",
    ttl=3600,
    authoritative=True,
)

pulumi.export("test_example_domain", test_example_domain.id)

Launch Pulumi commands:

pulumi preview
pulumi up
pulumi destroy

Contributing

Contributions to this project are welcome! If you find any issues or have improvements to suggest, please open an issue or submit a pull request.

Acknowledgments

  • Pulumi Documentation
  • Metal as a Service (MaaS) Documentation

Go further

Publish this project

python3 setup.py sdist bdist_wheel
twine upload --repository pypi dist/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pulumi_maas-1.0.3.tar.gz (32.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pulumi_maas-1.0.3-py3-none-any.whl (104.3 kB view details)

Uploaded Python 3

File details

Details for the file pulumi_maas-1.0.3.tar.gz.

File metadata

  • Download URL: pulumi_maas-1.0.3.tar.gz
  • Upload date:
  • Size: 32.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for pulumi_maas-1.0.3.tar.gz
Algorithm Hash digest
SHA256 394c4d5eaee2af82385b03873cd10028badb90ca5ad6e68683281632d2b5f3bf
MD5 fdf21347434e8d4604f27c7e5d2390a6
BLAKE2b-256 f39d734ec9f7399d06178dd07cb52b344017764caea172e055de1a5ff42b5686

See more details on using hashes here.

File details

Details for the file pulumi_maas-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: pulumi_maas-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 104.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for pulumi_maas-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2bc5aa0fe677be996ce60547c9d091d22871438c403036747d80e09d2fdf70a5
MD5 ee812373e0a70af920b1e330da492b03
BLAKE2b-256 ef037b59e849af7c46d672b5a8d7af7072f55fae16b03d181393c1aa9b64fe51

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page