# pulumi_maas
A Pulumi package for creating and managing Canonical [Metal-As-A-Service](https://maas.io/) (MAAS) resources.
## Prerequisites
Before you begin, make sure you have the following prerequisites installed and configured:
```bash
pulumi new python
pulumi stack init dev
```
Install `pulumi-maas` Python 3 package:
```bash
pip install pulumi-maas
```
Export MaaS variables:
```bash
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
```python
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:
```bash
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
```bash
python3 setup.py sdist bdist_wheel
twine upload --repository pypi dist/*
```
Raw data
{
"_id": null,
"home_page": "https://www.pulumi.com",
"name": "pulumi-maas",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "pulumi maas category/cloud",
"author": "",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/f3/9d/734ec9f7399d06178dd07cb52b344017764caea172e055de1a5ff42b5686/pulumi_maas-1.0.3.tar.gz",
"platform": null,
"description": "# pulumi_maas\n\nA Pulumi package for creating and managing Canonical [Metal-As-A-Service](https://maas.io/) (MAAS) resources.\n\n## Prerequisites\n\nBefore you begin, make sure you have the following prerequisites installed and configured:\n\n```bash\npulumi new python\npulumi stack init dev\n```\n\nInstall `pulumi-maas` Python 3 package:\n\n```bash\npip install pulumi-maas\n```\n\nExport MaaS variables:\n\n```bash\nexport MAAS_API_VERSION=2.0\nexport MAAS_API_KEY=xxxxxxxx\nexport MAAS_API_URL=http://maas.example.org:5240/MAAS\n```\n\n## Examples\n\n### Create a new domain\n\n```python\nimport pulumi\nimport pulumi_maas as maas\n\ntest_example_domain = maas.DnsDomain(\n \"test_domain\",\n name=\"test.example.org\",\n ttl=3600,\n authoritative=True,\n)\n\npulumi.export(\"test_example_domain\", test_example_domain.id)\n```\n\nLaunch Pulumi commands:\n\n```bash\npulumi preview\npulumi up\npulumi destroy\n```\n\n## Contributing\n\nContributions to this project are welcome! If you find any issues or have improvements to suggest, please open an issue or submit a pull request.\n\n## Acknowledgments\n\n- Pulumi Documentation\n- Metal as a Service (MaaS) Documentation\n\n## Go further\n### Publish this project\n\n```bash\npython3 setup.py sdist bdist_wheel\ntwine upload --repository pypi dist/*\n```\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "A Pulumi package for creating and managing Canonical Metal-As-A-Service (MAAS) resources.",
"version": "1.0.3",
"project_urls": {
"Homepage": "https://www.pulumi.com",
"Repository": "https://github.com/juhnny5/pulumi-maas-python"
},
"split_keywords": [
"pulumi",
"maas",
"category/cloud"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ef037b59e849af7c46d672b5a8d7af7072f55fae16b03d181393c1aa9b64fe51",
"md5": "ee812373e0a70af920b1e330da492b03",
"sha256": "2bc5aa0fe677be996ce60547c9d091d22871438c403036747d80e09d2fdf70a5"
},
"downloads": -1,
"filename": "pulumi_maas-1.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ee812373e0a70af920b1e330da492b03",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 104268,
"upload_time": "2023-08-19T19:27:16",
"upload_time_iso_8601": "2023-08-19T19:27:16.647053Z",
"url": "https://files.pythonhosted.org/packages/ef/03/7b59e849af7c46d672b5a8d7af7072f55fae16b03d181393c1aa9b64fe51/pulumi_maas-1.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f39d734ec9f7399d06178dd07cb52b344017764caea172e055de1a5ff42b5686",
"md5": "fdf21347434e8d4604f27c7e5d2390a6",
"sha256": "394c4d5eaee2af82385b03873cd10028badb90ca5ad6e68683281632d2b5f3bf"
},
"downloads": -1,
"filename": "pulumi_maas-1.0.3.tar.gz",
"has_sig": false,
"md5_digest": "fdf21347434e8d4604f27c7e5d2390a6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 32232,
"upload_time": "2023-08-19T19:27:19",
"upload_time_iso_8601": "2023-08-19T19:27:19.237133Z",
"url": "https://files.pythonhosted.org/packages/f3/9d/734ec9f7399d06178dd07cb52b344017764caea172e055de1a5ff42b5686/pulumi_maas-1.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-19 19:27:19",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "juhnny5",
"github_project": "pulumi-maas-python",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "pulumi-maas"
}