terraform backend

C++
# Using a single workspace:
terraform {
  backend "remote" {
    hostname = "app.terraform.io"
    organization = "COMPANY-NAME"

    workspaces {
      name = "GITHUB-REPO-NAME"
    }
  }
}

resource "aws_iam_user" "lb" {
  name = "remoteuser"
  path = "/system/"
}

#Commands 
terraform login
terraform init

Source

Also in C++: