{"id":15065548,"url":"https://github.com/flexibleenginecloud/terraform-provider-flexibleengine","last_synced_at":"2025-08-21T18:33:51.831Z","repository":{"id":38360031,"uuid":"135632748","full_name":"FlexibleEngineCloud/terraform-provider-flexibleengine","owner":"FlexibleEngineCloud","description":"Terraform flexibleengine provider","archived":false,"fork":false,"pushed_at":"2024-04-19T13:58:03.000Z","size":25937,"stargazers_count":30,"open_issues_count":30,"forks_count":53,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-12-08T03:41:53.439Z","etag":null,"topics":["flexibleengine","terraform","terraform-provider"],"latest_commit_sha":null,"homepage":"https://www.terraform.io/docs/providers/flexibleengine/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FlexibleEngineCloud.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-31T20:34:52.000Z","updated_at":"2024-04-17T13:00:18.000Z","dependencies_parsed_at":"2023-02-12T02:17:01.142Z","dependency_job_id":"f627a0f3-a4e7-4e7d-9101-7fdf376ee187","html_url":"https://github.com/FlexibleEngineCloud/terraform-provider-flexibleengine","commit_stats":null,"previous_names":[],"tags_count":64,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlexibleEngineCloud%2Fterraform-provider-flexibleengine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlexibleEngineCloud%2Fterraform-provider-flexibleengine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlexibleEngineCloud%2Fterraform-provider-flexibleengine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlexibleEngineCloud%2Fterraform-provider-flexibleengine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FlexibleEngineCloud","download_url":"https://codeload.github.com/FlexibleEngineCloud/terraform-provider-flexibleengine/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230527875,"owners_count":18240052,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flexibleengine","terraform","terraform-provider"],"created_at":"2024-09-25T00:40:55.532Z","updated_at":"2024-12-20T03:10:26.942Z","avatar_url":"https://github.com/FlexibleEngineCloud.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Terraform FlexibleEngine Provider\n============================\n\n\u003c!-- markdownlint-disable-next-line MD034 --\u003e\n- Website: https://www.terraform.io\n- [![Documentation](https://img.shields.io/badge/documentation-blue)](https://registry.terraform.io/providers/FlexibleEngineCloud/flexibleengine/latest/docs)\n- [![Gitter chat](https://badges.gitter.im/hashicorp-terraform/Lobby.png)](https://gitter.im/hashicorp-terraform/Lobby)\n- Mailing list: [Google Groups](http://groups.google.com/group/terraform-tool)\n\nQuick Start\n-----------\n\nWhen using the FlexibleEngineCloud Provider with Terraform 0.13 and later, the\nrecommended approach is to declare Provider versions in the root module Terraform\nconfiguration, using a `required_providers` block as per the following example.\nFor previous versions, please continue to pin the version within the provider block.\n\n1. Add [FlexibleEngineCloud/flexibleengine](https://registry.terraform.io/providers/FlexibleEngineCloud/flexibleengine/latest/docs)\n  to your `required_providers`.\n\n    ```hcl\n    # provider.tf\n    terraform {\n      required_version = \"\u003e= 0.13\"\n\n      required_providers {\n        flexibleengine = {\n          source = \"FlexibleEngineCloud/flexibleengine\"\n          version = \"\u003e= 1.30.0\"\n        }\n      }\n    }\n    ```\n\n2. Run `terraform init -upgrade` to download/upgrade the provider.\n\n3. Add the provider and [Authenticate](https://registry.terraform.io/providers/FlexibleEngineCloud/flexibleengine/latest/docs#authentication).\n\n    + **AK/SK Authenticate**\n\n    ```hcl\n    # provider.tf\n\n    # Configure the FlexibleEngine Provider with AK/SK\n    provider \"flexibleengine\" {\n      access_key  = \"access key\"\n      secret_key  = \"secret key\"\n      domain_name = \"domain name\"\n      region      = \"eu-west-0\"\n    }\n    ```\n\n    + **Username/Password Authenticate**\n\n    ```hcl\n    # provider.tf\n\n    # Configure the FlexibleEngine Provider with Username/Password \n    provider \"flexibleengine\" {\n      user_name   = \"user name\"\n      password    = \"password\"\n      domain_name = \"domain name\"\n      region      = \"eu-west-0\"\n    }\n    ```\n\n4. Create your first resource.\n\n    ```hcl\n    # main.tf\n\n    # Create an Elastic Cloud Server resource\n    resource \"flexibleengine_compute_instance_v2\" \"test-server\" {\n      name        = \"test-server\"\n      image_name  = \"OBS Ubuntu 18.04\"\n      flavor_name = \"t2.micro\"\n      key_pair    = \"kp_ecs\"\n      security_groups = [\"default\"]\n      network {\n        uuid = \"55534eaa-533a-419d-9b40-ec427ea7195a\"\n      }\n    }\n    ```\n\nDeveloping the Provider\n------------------------\n\nIf you wish to work on the provider, you'll first need [Go](http://www.golang.org)\ninstalled on your machine (version 1.18+ is *required*). You'll also need to\ncorrectly setup a [GOPATH](http://golang.org/doc/code.html#GOPATH), as well as\nadding `$GOPATH/bin` to your `$PATH`.\n\nBuilding the Provider\n-----------\n\n1. Clone repository to *$GOPATH/src/github.com/FlexibleEngineCloud/terraform-provider-flexibleengine*\n  with `go get` or `git clone`.\n\n    ```sh\n    go get github.com/FlexibleEngineCloud/terraform-provider-flexibleengine\n    ```\n\n    ```sh\n    cd $GOPATH/src/github.com/FlexibleEngineCloud/terraform-provider-flexibleengine\n    git clone git@github.com:FlexibleEngineCloud/terraform-provider-flexibleengine.git\n    ```\n\n2. Enter the provider directory and build the provider, run `make build`. This will build the provider and\n  put the provider binary in the `$GOPATH/bin` directory.\n\n    ```sh\n    cd $GOPATH/src/github.com/FlexibleEngineCloud/terraform-provider-flexibleengine\n    make build\n    ```\n\n3. In order to test the provider, you can simply run `make test`.\n\n    ```sh\n    make test\n    ```\n\nAcceptance Testing\n-----------\n\nBefore making a Pull Request or a release, the resources and data sources shoule be\ntested with acceptance tests.\n\nThe following environment variables are required before running the acceptance testing:\n\n```sh\nexport OS_ACCESS_KEY=xxx\nexport OS_SECRET_KEY=xxx\nexport OS_REGION_NAME=xxx\nexport OS_IMAGE_ID=xxx\nexport OS_FLAVOR_ID=xxx\nexport OS_NETWORK_ID=xxx\n```\n\nThen we can run the acceptance tests with `make testacc`.\n\n```sh\nmake testacc TEST='./flexibleengine' TESTARGS='-run TestAccXXXX'\n```\n\n**Note:** Acceptance tests create real resources, and often cost money to run.\n\n[Debugging Providers](https://www.terraform.io/docs/extend/debugging.html)\n-----------\n\nAdd the `TF_LOG` and `TF_LOG_PATH` environment variables to the system, and then you can view detailed logs.\nFor example, in a Linux operating system, run the following commands:\n\n```sh\nexport TF_LOG=TRACE\nexport TF_LOG_PATH=\"./terraform.log\"\n```\n\nLicense\n-----------\n\nTerraform-Provider-FlexibleEngine is under the Mozilla Public License 2.0. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflexibleenginecloud%2Fterraform-provider-flexibleengine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflexibleenginecloud%2Fterraform-provider-flexibleengine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflexibleenginecloud%2Fterraform-provider-flexibleengine/lists"}