Terraform Solana Provider

Release Registry License

Registry Page

Requirements

  • Terraform >= 0.13.x
  • Go 1.16.x (for building from source)

Example Usage

Full provider documentation can be found on the Terraform registry at the link found above.

<div class="highlight highlight-source-terraform position-relative" data-snippet-clipboard-copy-content="terraform {
required_providers {
solana = {
source = " callensm solana" version="” } } } provider “solana” { cluster=”testnet” } data “solana_address_signatures” “sigs” { address=”11111111111111111111111111111111″ search_options { limit = 1 } } data “solana_signature_status” “sig” { signature=”data.solana_address_signatures.sigs.results.0.signature” search_transaction_history = true } “>

terraform {
  required_providers {
    solana = {
      source  = "callensm/solana"
      version = ""
    }
  }
}

provider "solana" {
  cluster = "testnet"
}

data "solana_address_signatures" "sigs" {
  address = "11111111111111111111111111111111"

  search_options {
    limit = 1
  }
}

data "solana_signature_status" "sig" {
  signature                  = data.solana_address_signatures.sigs.results.0.signature
  search_transaction_history = true
}