Questions tagged [terraform-provider-ibm]

This tag is used to reference the IBM Cloud Provider plug-in for Terraform.

The IBM Cloud Provider plug-in for Terraform allows to manage resources on IBM Cloud. The provider is maintained by IBM and an open source project. The source code is available at https://github.com/IBM-Cloud/terraform-provider-ibm/

34 questions
7
votes
3 answers

How to use the IBM Cloud Provider plug-in for Terraform with Terraform 0.13?

Terraform 0.13 just came out (https://www.hashicorp.com/blog/announcing-hashicorp-terraform-0-13/) and it changes how to work with 3rd party providers (https://www.terraform.io/upgrade-guides/0-13.html#explicit-provider-source-locations). I'm…
Frederic Lavigne
  • 704
  • 3
  • 12
2
votes
1 answer

This value does not have any attributes error while trying to use COS HMAC credentials in Terraform?

I am trying to use HMAC credentials for Cloud Object Storage/S3 in Terraform but seeing this error. Error: Unsupported attribute on main.tf line 56, in resource "ibm_cos_bucket" "sink_bucket": 56: ACCESS_KEY =…
2
votes
3 answers

Configure terraform to connect to IBM Cloud

I try to connect terraform to IBM Cloud and I got messed up with Softlayer and IBM Cloud credentials. I followed the instruction on IBM sites to connect my terraform to the IBM Cloud and I am confused, because I may use SL and IBM Cloud…
1
vote
2 answers

Terraform variable from gitlab CI/CD variables

I understand that CI/CD variables can be used in HCL by counting on the fact that having them declared them with a TF_VAR_ prefix in the environment will enable me to look them up as input variables, then use them in the .tf file where I need…
WildWilyWilly
  • 121
  • 11
1
vote
1 answer

How to create IBM Cloud Event Streams trigger with terraform?

I have an Event Streams instance called myKafka (with an appropriate topic called myTopic) and an IBM Cloud Function action called myAction. I want to trigger the myAction when a message arrived on myKafka's topic. I have to write this relation in…
kbenda
  • 430
  • 5
  • 15
1
vote
1 answer

Is it possible to use terraform with IBM classic infrastructure?

I'm trying to create a classic virtual server using terraform by following below two articles but I'm getting an…
metadata
  • 1,139
  • 1
  • 7
  • 28
1
vote
2 answers

IBM Cloud Schematics: How do I upgrade the runtime from Terraform v0.12 to v0.13?

I am using IBM Cloud Schematics with a workspace based on Terraform 0.12. Based on the changelog a new Terraform version is supported by the runtime. How do I change my workspace to use the new runtime?
data_henrik
  • 16,724
  • 2
  • 28
  • 49
1
vote
1 answer

IBM Cloud: How to create HMAC credentials for COS using Terraform?

I am using IBM Cloud Object Storage (COS) to store files on IBM Cloud. I have used Terraform to provision the service and to create the storage bucket. How can I create credentials including the HMAC portion using Terraform? This is how to create…
data_henrik
  • 16,724
  • 2
  • 28
  • 49
1
vote
1 answer

How to add Terraform based software to IBM Cloud's private catalog?

I use IBM Cloud Schematics to generate and then apply a plan to create resources in IBM Cloud. Terraform templates are present in github repository and the URL of the same is provided in IBM Cloud Schematics' workspace. How shall I make this…
1
vote
1 answer

How to load a key into IBM KeyProtect using Terraform

I would like to use the IBM Terraform provider to provision a KeyProtect instance containing a standard key. Getting a KeyProtect instance is easy: Use a service instance of type kms. Does Terraform offer a way of inserting a specified key in the…
0
votes
1 answer

Using Terraform import to import IAM users on IBM Cloud

I'm trying to import IBM Cloud users, previously created with terraform, into a new state file after the old one was accidentally deleted! In our tf file we have the resource: resource "ibm_iam_user_invite" "account_users" { users =…
0
votes
0 answers

Terraform: String is not interpolated for module provider alias

Terraform version: "1.3.7" Terraform fails with A provider configuration reference must not be given in quotes. error when trying to provide providers to child module being called inside a for loop. The dynamic provider definition is done like…
0
votes
2 answers

Terraform: Invalid dynamic for_each value. Cannot use a list of object value in for_each. An iterable collection is required

Terraform version: "1.2.9" Terraform fails with invalid value error when input variable with type list(object({})) and marked as sensitive = true is passed to dynamic block with for_each. The error is not seen when the input variable is marked as…
0
votes
1 answer

IBM Cloud Activity Tracker: How to route logdna to logdna across accounts?

I have used Terraform in an IBM Cloud multi-account setup to define Activity Tracker Event Routing targets and routes and had hoped that I can stream logdna to logdna across account boundaries. resource "ibm_atracker_target" "atracker_logdna_target"…
data_henrik
  • 16,724
  • 2
  • 28
  • 49
0
votes
1 answer

IBM Cloud and Terraform: How to identify keyring in ibm_iam_authorization_policy?

I am using Terraform with IBM Cloud and wanted to create a service to service authorization with ibm_iam_authorization_policy. I know how to create the policy between cloud-object-storage and kms in general. But how do I scope it to a specific key…
data_henrik
  • 16,724
  • 2
  • 28
  • 49
1
2 3